fix two bugs in OPC_EmitRegister, which makes ppc happier.