Reorder debug logging statements when marking a reference in an unused region.

Crash reports do not always contain the full logs and sometimes only
show the first line printed with level FATAL. Reorder debug logging to
dump essential information about the faulty reference first.

(cherry picked from commit b6cf2ad4861629fecd55e6d13500b572f413bc7d)

Test: art/test.py
Bug: 75967215
Change-Id: I3a2448bcf5b3a097fb69fa6137c37e51fe3a97a0
1 file changed