Pass read barrier option to `ArtMethod::GetObsoleteDexCache()`.

This is needed for calling `PrettyMethod()` from contexts
where read barrier is not allowed, for example when removing
methods in `JitCodeCache::RemoveMethodsIn()`.

Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: I9465239137e51c1208b25790e503ba0d20cb9a94
4 files changed