powerpc: Add new code patching routines