mount.nfs: Refactor mount version and protocol autonegotiation