pkglist.hs: avoid use of 'void' to fix build with old compilers