atomic: provide additive functionality for atomic<void*>

fixes #8501

git-svn-id: http://svn.boost.org/svn/boost/trunk@84190 b8fc166d-592f-0410-95f2-cb63ce0dd405