ART: Add integrity check

Add access-flags setter DCHECK code similar to the getter. For now,
check that the verification-attempted flag is not removed.

Bug: 115834172
Test: m test-art-host
Change-Id: Ia1027126b2ff1a2a2e3c26f674a5f8dc8d2f0c0a
3 files changed