Set apex_available property

The marked library(ies) were available to the APEXes via the
hand-written whitelist in build/soong/apex/apex.go. Trying to remove the
whitelist by adding apex_available property to the Android.bp of the
libraries.

Exempt-From-Owner-Approval: cherry-pick from AOSP

Bug: 150999716
Test: m
Merged-In: I274feb4542624b348999e7c5f189f8606c6cd63d
(cherry picked from commit 3144db91ba989f6744eba50e8897009a02bb26e3)
Change-Id: I274feb4542624b348999e7c5f189f8606c6cd63d
diff --git a/libnetdutils/Android.bp b/libnetdutils/Android.bp
index c124aa7..fc9b724 100644
--- a/libnetdutils/Android.bp
+++ b/libnetdutils/Android.bp
@@ -28,6 +28,11 @@
     sanitize: {
         cfi: true,
     },
+
+    apex_available: [
+        "//apex_available:platform",
+        "com.android.resolv",
+    ],
 }
 
 cc_test {