g-factor of the second 4+ state in24Mg