Give the xxx_HOST_OS and xxx_HOST_ARCH options that were probed from ghc's target
platform, rather than assuming HOST == BUILD. This fixes things for cross compiling.
filterConfigureFlags: s/1.17/1.18/.

Some people have old snapshots of 1.17 installed, which causes build failures.