test/pmd_perf: fix the way to drain the port