[boost] [atomic] Generalized read-modify-write operation