Magnetic transition in compressed Fe{sub 3}C from x-ray emission spectroscopy