Implement core.thread.callWithStackShell() for PPC64 ELFv2 ABI.

The previous version ignored the fact that the stack layout has been changed with ELFv2 ABI.
This commit adds the changes required to assemble threadasm.S for ELFv1 and ELFv2 API.