[PATCH 5.10 743/783] RDMA/mlx5: Fix validation of max_rd_atomic caps for DC