Atomically stores the given new value into this AtomicNativePtr and returns the old value.
Thanks for your feedback!