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
1 file changed