Fix off by one comparison.

We need at least two arguments (executable + the gtest output argument)
to match the gtest xml framework.

Test: dex_file_ext_c_test
Change-Id: I030a1647421e0de44e3ab4bd9fb93cc5ec1ab83c
diff --git a/libdexfile/external/dex_file_ext_c_test.c b/libdexfile/external/dex_file_ext_c_test.c
index 85cd46e..c448a16 100644
--- a/libdexfile/external/dex_file_ext_c_test.c
+++ b/libdexfile/external/dex_file_ext_c_test.c
@@ -47,7 +47,7 @@
 }
 
 int main(int argc, char** argv) {
-  if (argc >= 1 && strncmp(argv[1], gtest_output_arg, sizeof(gtest_output_arg) - 1) == 0) {
+  if (argc >= 2 && strncmp(argv[1], gtest_output_arg, sizeof(gtest_output_arg) - 1) == 0) {
     /* The ART gtest framework expects all tests to understand --gtest_output. */
     return write_gtest_output_xml(argv[1] + sizeof(gtest_output_arg) - 1);
   }