app/testpmd: fix build with gcc 11