[Git][ghc/ghc][wip/mp/9.10.1-memory-backports] Migrate `Finder` component to `OsPath`, fixed #24616