[Git][ghc/ghc][master] loader: Unify loadDecls and loadModuleLinkables functions