Add dex lookup overloads which take C++ lambda callback.

Provide more direct access to the underlying C api.

Bug: 123517037
Test: m test-art-host-gtest
Change-Id: I364814e284e7569cf96eb7a7596a95bef38abbd7
2 files changed