[PATCH openEuler-5.10-LTS 030/109] net/mlx5e: Fix capability check for updating vnic env counters