scripts: Use glslang sha for SPIRV_TOOLS_COMMIT_ID

Fix awkward depencency between any change to known_good.json and
spirv_tools_commit_id.h. Now generated spirv_tools_commit_id.h will
only change when glslang commit id in known_good.json changes.

Change-Id: Id4c7bfde061509426eea0660ef18c7ff069f1409
diff --git a/scripts/generate_source.py b/scripts/generate_source.py
index 3c448ad..3e3e315 100755
--- a/scripts/generate_source.py
+++ b/scripts/generate_source.py
@@ -63,7 +63,8 @@
                  os.path.abspath(os.path.join(args.registry, 'validusage.json')),
                  '-export_header'],
                 [common_codegen.repo_relative('scripts/external_revision_generator.py'),
-                 '--rev_file', common_codegen.repo_relative('scripts/known_good.json'),
+                 '--json_file', common_codegen.repo_relative('scripts/known_good.json'),
+                 '--json_keys', 'repos,0,commit',
                  '-s', 'SPIRV_TOOLS_COMMIT_ID',
                  '-o', 'spirv_tools_commit_id.h']]