osd: fix bad is_active() assert in share_map()

We may be is_stopping() here if we are racing with shutdown().

Fixes: #8465 Backport: firefly, dumpling Signed-off-by: Sage Weil
<sage@inktank.com>