Added AtomicSwap_ptr and AtomicSwap_Long macro