Revert "Use correct standard when compiling NVCC on Windows (#99492)"

This reverts commit db6944562efad201c7c1dc2fc0539b1f34012666.

Reverted https://github.com/pytorch/pytorch/pull/99492 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally
diff --git a/torch/utils/cpp_extension.py b/torch/utils/cpp_extension.py
index 334a77b..91b27b9 100644
--- a/torch/utils/cpp_extension.py
+++ b/torch/utils/cpp_extension.py
@@ -724,7 +724,6 @@
                             cflags = ['-Xcompiler', flag] + cflags
                         for ignore_warning in MSVC_IGNORE_CUDAFE_WARNINGS:
                             cflags = ['-Xcudafe', '--diag_suppress=' + ignore_warning] + cflags
-                        append_std17_if_no_std_present(cflags)
                         cmd = [nvcc, '-c', src, '-o', obj] + include_list + cflags
                     elif isinstance(self.cflags, dict):
                         cflags = COMMON_MSVC_FLAGS + self.cflags['cxx']