Pass --with-ld=$(LD) to ghc-cabal when configuring packages (#6086)
When cross-compiling, pass --host to package configure scripts

Otherwise the configure script for e.g. base doesn't know that we're
cross-compiling, and fails trying to run an executable compiled by the
C cross-compiler.