States in 24Mg populated by the 10B(16O, d)24Mg and 12C(16O, α)24Mg reactions