pe: fix memdump_imports when gaps