testsuite: don't use host cpu features when testing cross ghc
This patch disables CPU feature detection logic when testing cross
GHC, since those features don't make sense for the target anyway.
(cherry picked from commit b4c3c340)
(cherry picked from commit 17386f36)