Experimental observation of open structures in elemental magnesium at terapascal pressures