Spectroscopic and physical parameters of Galactic O-type stars. III. Mass discrepancy and rotational mixing