ISPN-3124 AtomicHashMap.put is not atomic with pessimistic locking

I deprecated FlagContainer and removed it from the signature of several
internal AtomicMap methods.