[PATCH 5.18 046/231] net/mlx5e: Fix capability check for updating vnic env counters