ART: Use try-lock for interface marking

Use ObjectTryLock for the performance optimization to help code
that uses classes for locks.

Bug: 72204414
Test: art/test/testrunner/testrunner.py -b --host -t 170
Change-Id: Ic00de7bc15cb7e8369ff7c68cefcb3375f9df140
6 files changed