Magnetic catalysis of P-parity breakdown in a massive Gross-Neveu model and high-Tc superconductivity