app/testpmd: avoid process ID out of range