smbd: tweak POSIX check in smbd_do_qfilepathinfo()