[Git][ghc/ghc][wip/mp/iface-patches-9.10] Migrate `Finder` component to `OsPath`, fixed #24616