Change runtime behavior related to hiddenapi.

When resolving a method, if the found method is not accessible, check if
there are methods defined in interfaces which are.

Bug: 178680596
Bug: 122551864
Test: 817-hiddenapi
Change-Id: If7631b30b2eb8eb70d3d0fa1522744fbbd1f66a1
14 files changed