ppc: Add cooperative task switching for PowerPC