Revert "Reland "Target Java 17""

This reverts commit 1fbf7f21a452d372c629e6736ee17a216c23a926.

Reason for revert: broke docker image, pinning is incomplete it seems

Change-Id: I7102cb233a4fe5ce0f5a1ead98cfc661c3d82ce5
diff --git a/android/config.go b/android/config.go
index 255c836..d5ed883 100644
--- a/android/config.go
+++ b/android/config.go
@@ -723,6 +723,10 @@
 	return value == "0" || value == "n" || value == "no" || value == "off" || value == "false"
 }
 
+func (c *config) TargetsJava17() bool {
+	return c.IsEnvTrue("EXPERIMENTAL_TARGET_JAVA_VERSION_17")
+}
+
 // EnvDeps returns the environment variables this build depends on. The first
 // call to this function blocks future reads from the environment.
 func (c *config) EnvDeps() map[string]string {