pmdinfogen: fix build with gcc 11