app/testpmd: use per-core variable in flowgen