smbd: Fix crash bug in notify_deferred_opens