net/mlx4: use virt2memseg instead of iteration