[PowerPC] Remove duplicate patterns for atomic_swap (#195936)
The definition and implementation of atomic_load_* and atomic_swap is
basically similar. Changing the way how the operations are enumerated
makes it possible to remove the separate patterns for atomic_swap.