objectcache: make BagOStuff::add() abstract to discourage non-atomic versions