atomic: provide additive functionality for atomic<void*>

fixes #8501

svn path=/trunk/boost/atomic/; revision=84190