Fix IllegalMonitorStateException: Current thread is not owner of the lock! in Hibernate support under heavy load

See https://github.com/hazelcast/hazelcast/issues/3567.
Replaced `map.tryLock` based implementation in `IMapRegionCache.put` with spin loop around atomic operations.