Work-around for crt objects with sdk: current

Test: convert libcups from Android.mk->Android.bp, mm -j64.

Change-Id: I4fddcfa5806d0ce27a229c37a078b0d93e9082a8
diff --git a/cc/cc.go b/cc/cc.go
index 28354a8..cff8d85 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -1193,4 +1193,11 @@
 	return list[totalSkip:]
 }
 
+func getCurrentNdkPrebuiltVersion(ctx DepsContext) string {
+	if ctx.AConfig().PlatformSdkVersionInt() > config.NdkMaxPrebuiltVersionInt {
+		return strconv.Itoa(config.NdkMaxPrebuiltVersionInt)
+	}
+	return ctx.AConfig().PlatformSdkVersion()
+}
+
 var Bool = proptools.Bool