[PATCH 5.10 95/96] ceph: take snap_empty_lock atomically with snaprealm refcount change