Scattering of transient elastic waves by an inhomogeneous obstacle: Contrast in volume density of mass