ghc: tweak cross-compilation to mingw32
ghc: tweak cross-compilation to mingw32

The build failure when cross-compiling from
linux to windows looks like:

    HC [stage 1] ghc/stage2/build/tmp/ghc-stage2.exe
      Call hs_init_ghc() from your main() function to set these options.
  /usr/libexec/gcc/i686-w64-mingw32/ld: cannot find -lHSghc-8.3-0

Similar to commit 745032dd02da511067c2939259ed212852187e0f
("rts: tweak cross-compilation to mingw32") decision to split
stage2 should be done based based on TargetOS, not HostOS.

Signed-off-by: Sergei Trofimovich <110fdadc76b6bce16977f568bdb4723eaed6fb3f@gentoo.org>

shlevy/ghc,ezyang/ghc,shlevy/ghc,sdiehl/ghc,sdiehl/ghc,shlevy/ghc,shlevy/ghc,sdiehl/ghc,shlevy/ghc,sdiehl/ghc,ezyang/ghc,sdiehl/ghc,sdiehl/ghc,shlevy/ghc,ezyang/ghc,ezyang/ghc,ezyang/ghc,ezyang/ghc,shlevy/ghc,ezyang/ghc,sdiehl/ghc