Remove -Wno-deprecated-copy from build/gen.py

Remove the obsolete -Wno-deprecated-copy suppression flag from
build/gen.py. The codebase already builds cleanly without this
suppression on both Clang and GCC.

Bug: None
Test: ninja -C out run_tests
Change-Id: Ib07511fedb68d685359717ca9ab450e5fac2e27c
Reviewed-on: https://gn-review.googlesource.com/c/gn/+/29660
Reviewed-by: Matt Stark <msta@google.com>
Commit-Queue: Takuto Ikuta <tikuta@google.com>
diff --git a/build/gen.py b/build/gen.py
index acb013b..b2f1509 100755
--- a/build/gen.py
+++ b/build/gen.py
@@ -584,7 +584,6 @@
         ldflags.append('-static-libstdc++')
 
       cflags.extend([
-        '-Wno-deprecated-copy',
         '-Wno-implicit-fallthrough',
         '-Wno-format',             # Use of %llx, which is supported by _UCRT, false positive
         '-Wno-strict-aliasing',    # Dereferencing punned pointer