Attenuation of S waves in the lithosphere due to scattering by its random velocity structure