smbd: Factor out "has_other_nonposix_opens"