IB/mlx4: Add validation to flow specifications parsing