mount.nfs: Refactor parse_devname and fill_ipv4_addr