Fix compiler warnings on Windows (GH-7729)

Fix comparison between signed and unsigned integers. Example of fixed
warning:

Modules\_sre.c(838): warning C4018: '<' : signed/unsigned mismatch

(cherry picked from commit 1fa174a418d78ef24aa741945230a5074b3e6236)
1 file changed