Move dvr_buffer_queue-test to use Android.mk

It seems that Android.bp is having trouble building against NDK. Other
minor changes include:

1/ Removes the test's dependency on libbase.
2/ Uses libandroid for ANativeWindow symbols instead of using
libnativewindow.
3/ Set RTLD_NODELETE during dlopen, so that the test binary won't crash
on pre-Android P devices.

Bug: 64723700
Test: dvr_buffer_queue-test binary built on master runs on devices with
      Android 8.0.0, 8.1.0, and master branch.
Change-Id: Id7a7e242ba3d35c352fa049ab1c5c50a77ede682
3 files changed