Use a bool instead of an int to represent the initialized state in IOWin.cpp

It's only used like a boolean as well,

at line 135 it was assigned `true` despite being an int.