[Git][ghc/ghc][master] configure: fix sed script and subst tooldir script