[PATCH 5.15 239/290] RDMA/mlx5: Fix validation of max_rd_atomic caps for DC