Threshold singularities of the x-ray Raman scattering in metals