[Git][ghc/ghc][wip/andreask/linker_fix] 290 commits: Migrate `ghc-pkg` to use `OsPath` and `file-io`