Add workaround for Kotlin 1.4 upgrade

This library is not yet compatible with Kotlin 1.4 new @JvmOverloads
behavior. This change forces this library to the legacy behavior.

See https://kotlinlang.org/docs/reference/compatibility-guide-14.html#generated-overloads-for-jvmoverloads-on-open-methods-should-be-final

Bug: 166499531
Test: make
Change-Id: I9d675c7bd7a8ff223332dfbdf519c476f4c59c8a
diff --git a/staticlibs/Android.bp b/staticlibs/Android.bp
index f4799f0..1143e05 100644
--- a/staticlibs/Android.bp
+++ b/staticlibs/Android.bp
@@ -102,6 +102,9 @@
         "net-tests-utils-host-device-common",
         "net-utils-device-common",
     ],
+    kotlincflags: [
+        "-XXLanguage:-GenerateJvmOverloadsAsFinal"
+    ]
 }
 
 filegroup {