bsmiles32 backport - rename reg_cop0 to g_cp0_regs