configure: Allow override of CrossCompiling
As noted in #26236 (closed), the current inference logic is a bit simplistic. In particular, there are many cases (e.g. building for a new libc) where the target and host triples may differ yet we are still able to run the produced artifacts as native code.
Closes #26236 (closed).