app/testpmd: fix hexadecimal parser with odd length