The magnetic moment of the first-excited 2+ state in 18O