SDL_image: IMG_bmp.c: fix build breakage in C90 mode after commit e639e64494a

https://github.com/libsdl-org/SDL_image/commit/0082cf5c44c65dfe604340eb094bc30e242667c2

From 0082cf5c44c65dfe604340eb094bc30e242667c2 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 2 Dec 2021 21:28:28 +0300
Subject: [PATCH] IMG_bmp.c: fix build breakage in C90 mode after commit
 e639e64494a

---
 IMG_bmp.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/IMG_bmp.c b/IMG_bmp.c
index 9654cf5..280fa02 100644
--- a/IMG_bmp.c
+++ b/IMG_bmp.c
@@ -120,7 +120,7 @@ LoadICOCUR_RW(SDL_RWops * src, int type, int freesrc)
     SDL_bool was_error;
     Sint64 fp_offset = 0;
     int bmpPitch;
-    int i, pad;
+    int i,j, pad;
     SDL_Surface *surface;
     Uint32 Rmask;
     Uint32 Gmask;
@@ -356,7 +356,7 @@ LoadICOCUR_RW(SDL_RWops * src, int type, int freesrc)
                 Uint8 channel;
                 for (i = 0; i < surface->w; ++i) {
                     pixel = 0;
-                    for (int j = 0; j < 3; ++j) {
+                    for (j = 0; j < 3; ++j) {
                         //Load each color channel into pixel
                         if (!SDL_RWread(src, &channel, 1, 1)) {
                             IMG_SetError("Error reading from ICO");
@@ -364,7 +364,6 @@ LoadICOCUR_RW(SDL_RWops * src, int type, int freesrc)
                             goto done;
                         }
                         pixel |= (channel << (j * 8));
-    
                     }
                     *((Uint32 *) bits + i) = pixel;
                 }