bcache: optimize barrier usage for atomic operations