Absolute Measurement of Total Ionization Cross Section of Mg by Electron Impact