Elastic wave scattering by a surface‐breaking or subsurface planar crack