better implementation of atomic_buffer::store