Inelastic cross sections for low-energy Mg + H collisions