net/mlx5: remove gather loop on segments