Mark libmedia_omx and libstagefright_foundation as double_loadable

These two are explicitly marked as double_loadable since they are one of the
dependencies of the LLNDK library libnativewindow (libmediandk)
and at the same time the lib themselves are marked as VNDK. Such libs can be
double loaded inside a vendor process.

Note: even without this change, the library is already capable of being
double loaded due to the dependency graph around it. This change is to
make it explicit so that double loading of a library is carefully
tracked and signed-off by the owner of the lib.

Bug: 77155589
Test: m -j
Merged-In: I38e3ff4a76930a99a04f3dbc53a2dcfea18de8f3
Change-Id: I38e3ff4a76930a99a04f3dbc53a2dcfea18de8f3
(cherry picked from commit fcd1537dcd1e974ec9b204cc4ce3ab4a8aec09b1)
diff --git a/media/libmedia/Android.bp b/media/libmedia/Android.bp
index a462f3a..8580f57 100644
--- a/media/libmedia/Android.bp
+++ b/media/libmedia/Android.bp
@@ -127,6 +127,7 @@
     vndk: {
         enabled: true,
+    double_loadable: true,
     defaults: ["libmedia_omx_defaults"],
diff --git a/media/libstagefright/foundation/Android.bp b/media/libstagefright/foundation/Android.bp
index 221af1d..a07fcb0 100644
--- a/media/libstagefright/foundation/Android.bp
+++ b/media/libstagefright/foundation/Android.bp
@@ -10,6 +10,7 @@
     vndk: {
         enabled: true,
+    double_loadable: true,
     include_dirs: [