Magnetic circular dichroism of the 1S→1P transition of Mg atoms in noble gas matrices