Added missing atomic operations to atomic types.

AtomicPtr now has fetch_add and fetch_sub for pointer arithmetic.
AtomicInt and AtomicUint now have fetch_min, fetch_max and
fetch_and, fetch_nand, fetch_or, fetch_xor for bitwise logical
operations.

Closes #7421