net/mlx5: fix check for VLAN actions