Fix two invocations of toolhelper.run()

I75270518 dd6a6de7d ("Tools: Switch from JAR-per-tool to a single swiss
army knife", 2018-05-18) switched all scripts to using toolhelper.run()
to invoke R8, D8 and others. However, the change missed the fact that
the track_memory_file argument is called track_memory_to_file in two
files.

Fix the invocation of toolhelper.run() in run-d8-on-gmscore.py and
run_on_app.py to use track_memory_file instead of track_memory_to_file.

Change-Id: I7aa32d200a715fcb32bbfcdc8346930f920ef186
diff --git a/tools/run-d8-on-gmscore.py b/tools/run-d8-on-gmscore.py
index b1bdc6e..4a64693 100755
--- a/tools/run-d8-on-gmscore.py
+++ b/tools/run-d8-on-gmscore.py
@@ -76,7 +76,7 @@
         build=not options.no_build,
         debug=not options.no_debug,
         profile=options.profile,
-        track_memory_to_file=options.track_memory_to_file)
+        track_memory_file=options.track_memory_to_file)
 
 if __name__ == '__main__':
   sys.exit(main())
diff --git a/tools/run_on_app.py b/tools/run_on_app.py
index 571d96d..41340c7 100755
--- a/tools/run_on_app.py
+++ b/tools/run_on_app.py
@@ -203,7 +203,7 @@
       toolhelper.run(options.compiler, args, build=not options.no_build,
                      debug=not options.no_debug,
                      profile=options.profile,
-                     track_memory_to_file=options.track_memory_to_file)
+                     track_memory_file=options.track_memory_to_file)
       if options.print_memoryuse:
         print('{}(MemoryUse): {}'
             .format(options.print_memoryuse,