Changed to use java_library module when compiling stub-annotations.jar

Otherwise, when compiling Metalava based android.jar, Soong reports
error:

dependency "stub-annotations" of "metalava_android_stubs_current"
missing variant:
arch:android_common
available variants:
arch:linux_glibc_common
arch:windows_common

Test: m -j metalava_android_stubs_current
Bug: b/78245848
Change-Id: If361eb436cf1bfef2d54dfffd154f276762cbf45
diff --git a/Android.bp b/Android.bp
index 4ec55f7..a606a75 100644
--- a/Android.bp
+++ b/Android.bp
@@ -27,9 +27,11 @@
     manifest: "manifest.txt",
 }
 
-java_library_host {
+java_library {
     name: "stub-annotations",
+    host_supported: true,
     srcs: [
         "stub-annotations/src/main/java/**/*.java",
     ],
+    no_framework_libs: true,
 }