Magnesium Gradients in Elliptical Galaxies. I. Method and Initial Results