nfs: refactor "need_mount" code out of nfs_try_mount