cmake: add _CRT_SECURE_NO_WARNINGS to windows targets

This quiets warnings related to fopen (fopen_s), printf, etc.
https://learn.microsoft.com/en-us/cpp/c-runtime-library/security-features-in-the-crt?view=msvc-170

Bug: b/277255390
Change-Id: I93b2ce17d6dcc36a57cdaecf3cac05d3116f45a2
diff --git a/build/cmake/aom_configure.cmake b/build/cmake/aom_configure.cmake
index ee566af..ebb369a 100644
--- a/build/cmake/aom_configure.cmake
+++ b/build/cmake/aom_configure.cmake
@@ -233,6 +233,8 @@
   # Prevent windows.h from defining the min and max macros. This allows us to
   # use std::min and std::max.
   add_compiler_flag_if_supported("-DNOMINMAX")
+  # Quiet warnings related to fopen, printf, etc.
+  add_compiler_flag_if_supported("-D_CRT_SECURE_NO_WARNINGS")
 endif()
 
 #