Revert "[libomptarget] Fix CUDA plugin build regression"

This reverts commit b64482e23eefaef7738fde35d0b7c4174aaa6597.

GitOrigin-RevId: d4f4f802363d4227c61553872bdd61abcdeb8c08
diff --git a/libomptarget/plugins-nextgen/cuda/src/rtl.cpp b/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
index e9742c9..f85a00c 100644
--- a/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
+++ b/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
@@ -1160,7 +1160,7 @@
     // automatically so we must create it ourselves. The backend will emit
     // several globals that contain function pointers we can call. These are
     // prefixed with a known name due to Nvidia's lack of section support.
-    auto ELFObjOrErr = ELF64LEObjectFile::create(Image.getMemoryBuffer());
+    auto ELFObjOrErr = Handler.getELFObjectFile(Image);
     if (!ELFObjOrErr)
       return ELFObjOrErr.takeError();