Static quadrupole moment of the first excited state of 24Mg