Replace "#if Py_STATS" with "#ifdef Py_STATS".
All other C files already check for "#ifdef Py_STATS".
Example of fixed compiler warning when building Python with -Wundef:
Python/specialize.c:33:5: warning: 'Py_STATS' is not defined,
evaluates to '0' [-Wundef]
33 | #if Py_STATS
| ^~~~~~~~
On Windows, the Py_STATS macro is now defined to 1 when it's defined.