examples: win32-videooverlay: Fix for window freezing
Read and flush console buffer from the console thread immediately, instead of main thread. Otherwise (if main thread is busy) the console thread will keep adding idle source and main thread will be unresponsive.