net/mlx5: fix representor ID check for sampling