app/testpmd: fix port detaching with virtio