Honor the --baseline flag for the JIT.

Test: art -Xcompiler-option --baseline uses the baseline compiler.
Change-Id: I2a5a3ed0038ca965ab1f0cebffb7900e90bae43a
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc
index a45f502..3f11170 100644
--- a/compiler/optimizing/optimizing_compiler.cc
+++ b/compiler/optimizing/optimizing_compiler.cc
@@ -1375,7 +1375,7 @@
                    &code_allocator,
                    dex_compilation_unit,
                    method,
-                   baseline,
+                   baseline || GetCompilerOptions().IsBaseline(),
                    osr,
                    /* is_shared_jit_code= */ code_cache->IsSharedRegion(*region),
                    &handles));