Avoid recording CHA class status for dex2oat

In case dex2oat does class unloading, the CHA dependency map may have
dangling ArtMethod pointers.

Temporary fix until CHA supports class unloading when JIT is
disabled.

Bug: 63905544
Bug: 63467744
Test: test-art-host

Change-Id: I883d46273a7a9ecad5d5708122876cc3b177ecad
1 file changed