[Git][ghc/ghc][master] rts: Fix object file format detection in loadArchive