app/testpmd: set socket id when adding new port