Windows: Unstick shift keys in a timely manner when the OS loses a KEYUP event.

Fixes Bugzilla #1959.