net/mlx5: fix inconsistent link status query