(cherry picked from commit 1f130f16) Test: m test-art-host-gtest-oat_writer_test Bug: 74583476 Change-Id: Iad604d0f282219759814c14dea8fd9253a68ff7f