PR #12253: Do not dump autotuner PTX to stdout when --xla_dump_hlo_as_* are set
PR #12253: Do not dump autotuner PTX to stdout when --xla_dump_hlo_as_* are set

Imported from GitHub PR https://github.com/openxla/xla/pull/12253

Without this change then when `--xla_dump_hlo_as_proto=true --xla_dump_to=/some/real/path` is set, the autotuner dumps PTX to stdout.
Copybara import of the project:

--
9149682143373bd17d4dc57635ba34b146e3b358 by Olli Lupton <olupton@nvidia.com>:

Do not dump autotuning PTX to stdout when --xla_dump_hlo_as_* are set

Merging this change closes #12253

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/12253 from olupton:less-log-spam 9149682143373bd17d4dc57635ba34b146e3b358
