Put back some atomics workaround functions for PPC.