Workaround for USE_D8 not in --dumpvars-mode

Bug: 68406220
Test: m checkbuild && USE_D8=false m checkbuild
Change-Id: Ia9916fb69b22449ff9eadd334f135807d999276f
diff --git a/core/config.mk b/core/config.mk
index ddedc5b..dca7289 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -516,6 +516,12 @@
 
 USE_PREBUILT_SDK_TOOLS_IN_PLACE := true
 
+# Work around for b/68406220
+# This should match the soong version.
+ifndef USE_D8
+  USE_D8 := true
+endif
+
 #
 # Tools that are prebuilts for TARGET_BUILD_APPS
 #