[XLA:GPU] Print the correct error message when dumping llvm ir in trtion.
[XLA:GPU] Print the correct error message when dumping llvm ir in trtion.

If `log_stream.emplace` returns error, we destruct `log_stream` and keep trying to use it later. Changed to fail earlier on and print a corresponding error message.
