app/testpmd: use exit instead of panic