[PATCH 4.9 50/51] powerpc/lib: fix book3s/32 boot failure due to code patching