[Git][ghc/ghc][wip/jeltsch/base-buildable-with-ghc-9-14] Use `getFileHash` from `ghc-internal` on GHC 9.14