Centre-of-mass effects on the hydrogen atom in a magnetic field