app/testpmd: check not configuring port twice