Major performance boost: create our own reference table once - don't scan

Improperly-referenced objects are much more common than assumed.  Scanning
the file once to build our own reference table of top-level objects is
much more efficient than scanning the file each time we need an object
that is not (properly) referenced in the XREF table.