Fix a bug with volatile fields.

The access bit for bridge methods is also used for volatile fields, so
ignore that bit if the member is not a method. Add some test cases for
this too.

Test: atest class2greyisttest
Bug: 110868826
Change-Id: I895ee3af50ad658a714e55ad328714edec6cc4a1
2 files changed