Fix the behavior of GetOverlappedResult() and WSAGetOverlappedResult() with non-manual-reset (auto-reset) events in the OVERLAPPED structures.