patch 8.0.0512: check for available characters takes too long

Problem:    Check for available characters takes too long.
Solution:   Only check did_start_blocking if wtime is negative. (Daisuke
            Suzuki, closes #1591)
diff --git a/src/os_unix.c b/src/os_unix.c
index f0a5621..c78e7bf 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -511,7 +511,7 @@
 		|| interrupted
 #endif
 		|| wait_time > 0
-		|| !did_start_blocking)
+		|| (wtime < 0 && !did_start_blocking))
 	    continue;
 
 	/* no character available or interrupted */