app/testpmd: fix crash when mempool allocation fails