aom: Remove MSVC version check in x86 workaround

From 64472491b6bf3c4a44b1d5f8a7714ad967d82d8a Mon Sep 17 00:00:00 2001
From: Wan-Teh Chang <[EMAIL REDACTED]>
Date: Thu, 27 Jun 2024 13:47:53 -0700
Subject: [PATCH] Remove MSVC version check in x86 workaround

The MSVC version check is not future-proof unless the bug has been
fixed. Since we have not even submitted a bug report, this bug is
unlikely to be fixed soon. So remove the MSVC version check for the
workaround.

Update the comment to note that this bug can still be reproduced with
Visual Studio 2022 version 17.10.3.

Bug: 349646650
Change-Id: If2935164d20a52b0c7daf7f88ea8ae588e2f6efa
---
 av1/common/cdef_block_simd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/av1/common/cdef_block_simd.h b/av1/common/cdef_block_simd.h
index 58cfd3183e..5b04909a35 100644
--- a/av1/common/cdef_block_simd.h
+++ b/av1/common/cdef_block_simd.h
@@ -198,8 +198,8 @@ int SIMD_FUNC(cdef_find_dir)(const uint16_t *img, int stride, int32_t *var,
 }
 
 // Work around compiler out of memory issues with Win32 builds. This issue has
-// been observed with Visual Studio 2017, 2019, and 2022 (version 17.4).
-#if defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER < 1940
+// been observed with Visual Studio 2017, 2019, and 2022 (version 17.10.3).
+#if defined(_MSC_VER) && defined(_M_IX86)
 #define CDEF_INLINE static INLINE
 #else
 #define CDEF_INLINE SIMD_INLINE