[PATCH 6.6 75/93] libceph: fix potential use-after-free in have_mon_and_osd_map()