Shape isomeric states in highly excited 24Mg