vndk-def: Implement ELF resolver.

This commit implements ELF resolver so that we can change the default
search path and check the search directories specified in DT_RUNPATH.

Test: ./tests/run.py

Change-Id: I479d0cb1519032053c5813c003a959adde8fb05e
2 files changed