[PATCH v2] msvcrt: gets() should handle EOF on stdin gracefully