PPC: perf enhancement: optimize code patching sync sequences.