libceph: fix potential hang in ceph_osdc_notify()