[PATCH 6.4 033/292] net/mlx5: Query hca_cap_2 only when supported