Finite element evaluation of stress intensity factors in curved non-planar cracks in FGMs