Disable -Wl,-z,defs in ASAN build (#21381)

Shared libraries built with address sanitizer have some unresolved
symbols created by the instrumentation. These will be provided by
the executable.

This is by design but trips an unresolved symbol diagnostic. Disable
these strictures when ASAN is enabled.
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 0d7e484..c23d35b 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -262,7 +262,7 @@
     ]
   }
 
-  if (current_os == "linux" || current_os == "android") {
+  if (!is_asan && (current_os == "linux" || current_os == "android")) {
     ldflags += [ "-Wl,-z,defs" ]
   }
 }