Enforce "disallow read barrier" checks for GC roots.

Fix a bug in read barrier option propagation.

Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 194017033
Change-Id: I571272cdf6afc5cdfda03e995281f9bc3ad8f8b9
2 files changed