Skip check tests on host builds when IREE_BUILD_COMPILER is OFF. (#4627)
Skip check tests on host builds when IREE_BUILD_COMPILER is OFF. (#4627)

I misconfigured this as part of https://github.com/google/iree/pull/4584, leading to issues spotted on https://github.com/google/iree/issues/4617. The flatcc cli is still required for the runtime, which is what I originally filed that issue for, but compiler tools like `iree-translate` should not be.

See also https://github.com/google/iree/blob/7d0108f0d565956c51c446dd52062fa1e50ca4e3/build_tools/cmake/iree_lit_test.cmake#L39-L43
iree-org/iree,google/iree,iree-org/iree,google/iree,google/iree,iree-org/iree,iree-org/iree,google/iree,google/iree,iree-org/iree,iree-org/iree,iree-org/iree,google/iree,google/iree