smbd: Fix flawed share_mode_stale_pid API