SDL: Revert "SDL_windowsevents.c: fixed -Werror=unused-variable"

From e4ee1cade7d66439e363e156c517660b565cb228 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 12 Jan 2024 09:32:49 -0800
Subject: [PATCH] Revert "SDL_windowsevents.c: fixed -Werror=unused-variable"

This reverts commit f8cce4ead45bb4cd1aad00292ba60873ad5d09bf.
---
 src/video/windows/SDL_windowsevents.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c
index bc67d39f3eea..8a963cb85ca5 100644
--- a/src/video/windows/SDL_windowsevents.c
+++ b/src/video/windows/SDL_windowsevents.c
@@ -1542,11 +1542,11 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
     case WM_DPICHANGED:
         /* Windows 8.1+ */
         {
+            const int newDPI = HIWORD(wParam);
             RECT *const suggestedRect = (RECT *)lParam;
             int w, h;
 
 #ifdef HIGHDPI_DEBUG
-            const int newDPI = HIWORD(wParam);
             SDL_Log("WM_DPICHANGED: to %d\tsuggested rect: (%d, %d), (%dx%d)\n", newDPI,
                     suggestedRect->left, suggestedRect->top, suggestedRect->right - suggestedRect->left, suggestedRect->bottom - suggestedRect->top);
 #endif