Fix type of Thread in windows thread pool

It needs to be 32-bit on 32-bit windows.