Fix PEGetImageBase for rebased DLLs.

Must use a memory map of the file, not read memory directly, as the
value of ImageBase in memory changes.
Remove dead function declaration.