Magnetic substate population in 12C + 12C inelastic scattering