app/testpmd: support updating pctype mapping