powerpc: Move code patching code into arch/powerpc/lib/code-patching.c