[GHC] #14889: ghc-HEAD broke cross-compilation on multiple tagets due to --via-asm switch