[PATCH 5.10 163/290] RDMA/mlx5: Add check for srq max_sge attribute