Move aconfig_midi_flags_java_lib to libs

aconfig_midi_flags_java_lib is added in framework jar, thus the system
server can find the library in the runtime from framework jar. Move the
dependency to libs to avoid duplication.

Bug: 301945339
Test: presubmit
Change-Id: I530c2d12a84dab64e05bb438ec830a7b05bacdf9
diff --git a/services/midi/Android.bp b/services/midi/Android.bp
index 4b5f8a7..a385fe3 100644
--- a/services/midi/Android.bp
+++ b/services/midi/Android.bp
@@ -18,8 +18,8 @@
     name: "services.midi",
     defaults: ["platform_service_defaults"],
     srcs: [":services.midi-sources"],
-    libs: ["services.core"],
-    static_libs: [
+    libs: [
+        "services.core",
         "aconfig_midi_flags_java_lib",
     ],
 }