[PATCH openEuler-5.10 11/47] net/mlx5: DR, Fix NULL vs IS_ERR checking in dr_domain_init_resources