ART: Free resources in dexlayout

Ensure that loaded resources are freed once done.

Bug: 37727496
Test: m SANITIZE_HOST=address test-art-host-gtest-dexlayout_test
Change-Id: I2ca823e185c1b414781dab62ec8f87d64bd6f4fc
diff --git a/dexlayout/Android.bp b/dexlayout/Android.bp
index 4b65c52..a2116cd 100644
--- a/dexlayout/Android.bp
+++ b/dexlayout/Android.bp
@@ -49,6 +49,7 @@
     shared_libs: [
         "libart",
         "libart-dexlayout",
+        "libbase",
     ],
 }