[gn] Guard use of `use_libfuzzer`

The `use_libfuzzer` variable is not always defined when Dawn is used
as a dependency in another project (e.g. Skia), so check that it is
defined before using it.

This should fix the Dawn->Skia roll.

Change-Id: Id59260267d32624da5fd35451df182a82356fee2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/195134
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: James Price <jrprice@google.com>
diff --git a/src/tint/BUILD.gn b/src/tint/BUILD.gn
index bdfa87f..176d51a 100644
--- a/src/tint/BUILD.gn
+++ b/src/tint/BUILD.gn
@@ -283,7 +283,8 @@
 }
 
 source_set("dxcompiler-for-fuzzer") {
-  if (use_libfuzzer && (is_win || is_linux || is_mac) && target_cpu != "x86") {
+  if (defined(use_libfuzzer) && use_libfuzzer &&
+      (is_win || is_linux || is_mac) && target_cpu != "x86") {
     public_deps = [ "${dawn_dxc_dir}/../gn/dxc:dxcompiler" ]
   }
 }