Fixed OatWriter checksum for raw data case

The checksum from the dex file seems to be incorrect, use the one
from the OatDexFile since it matches the original dex checksum.

Regression test in follow up CL.

Test: test-art-host-gtest -j32

Bug: 35761072
Change-Id: I79f0e720c9a2fc33286c4d4c1ef4ab9d194533a9
diff --git a/compiler/oat_writer.cc b/compiler/oat_writer.cc
index 34d2ec9..c5ec859 100644
--- a/compiler/oat_writer.cc
+++ b/compiler/oat_writer.cc
@@ -2283,7 +2283,7 @@
     dex_file = DexFile::Open(raw_dex_file,
                              header->file_size_,
                              location,
-                             header->checksum_,
+                             oat_dex_file->dex_file_location_checksum_,
                              nullptr,
                              /* verify */ true,
                              /* verify_checksum */ false,