objectcache: improve set() slam prevention in getWithSetCallback()