Fix PPC bugs.

1) Workaround LLVM bug 21443. The trick is to clobber r0 which forces
   LLVM to choose a different register.

2) Store stack pointer into variable sp.