Fix static linkage in bindgen bindings

A bug in Soong was causing static libraries to propagate when they
shouldn't have.

Switch from static_libs to whole_static_libs to propagate these
libraries as intended. And because they're included whole now, make sure
to include necessary shared dependencies as well.

Bug: 377932175
Test: m
Change-Id: Id42ee6b3cdf691003cbb26362b092a34e4996dc5
diff --git a/Android.bp b/Android.bp
index 3f39c43..5dddd3b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -154,15 +154,15 @@
         "android.hardware.common.fmq-V1-rust",
         "android.hardware.common-V2-rust",
     ],
-    static_libs: [
-        "libfmq",
-    ],
     whole_static_libs: [
+        "libfmq",
         "libfmq_erased",
     ],
     shared_libs: [
         "libc++",
         "liblog",
+        "libbase",
+        "libutils",
         "android.hardware.common.fmq-V1-ndk",
     ],
     apex_available: [