Logging for giAtomicCompareAndSwap.