ldr_pe: fix exception if PE doesn't contain any imports