Fix a couple bugs in the powerpc emulation.

* Fix the signal trampoline code to reflect the actual intent of the asm code.
* Fix the powerpc64 process startup register setup.