Fix EOF detection on Win32 after calls to ::ReadFile()