[MLIR/GPU] Fix the build.

PiperOrigin-RevId: 263017663
diff --git a/tensorflow/compiler/xla/service/mlir_gpu/mlir_compiler.cc b/tensorflow/compiler/xla/service/mlir_gpu/mlir_compiler.cc
index 5421a3a..44c143d 100644
--- a/tensorflow/compiler/xla/service/mlir_gpu/mlir_compiler.cc
+++ b/tensorflow/compiler/xla/service/mlir_gpu/mlir_compiler.cc
@@ -51,11 +51,10 @@
     se::DeviceMemoryAllocator* device_allocator) {
   // Until we find a reason to do something different, run the same passes
   // that the normal GPU backend runs.
-  TF_RETURN_IF_ERROR(xla::gpu::impl::OptimizeHloModule(
-      module.get(), stream_exec, device_allocator));
-
-  TF_RETURN_IF_ERROR(
-      xla::gpu::impl::PrepareHloModuleForIrEmitting(module.get()));
+  gpu::NVPTXCompiler xla_compiler;
+  TF_RETURN_IF_ERROR(xla_compiler.OptimizeHloModule(module.get(), stream_exec,
+                                                    device_allocator));
+  TF_RETURN_IF_ERROR(xla_compiler.PrepareHloModuleForIrEmitting(module.get()));
 
   return std::move(module);
 }