Add helper method to iterate over BitTable fields in CodeInfo.

Avoid the repetitive code patterns and simplify code.

Test: test-art-host-gtest-stack_map_test
Test: checked output of oatdump
Change-Id: I2354bc652837eb34efeecf4de56a027384544034
8 files changed