[GHC] #9481: Linker does not correctly resolve symbols in previously loaded objects