atomics doc - save prior value before testAndSwap

bsls atomics doc - use stack var to save prior val before testAndSwap
to avoid race condition of re-reading node->d_next_p after testAndSwap