IB/mlx5: Add validation to flow specifications parsing