app/testpmd: fix config crash