Rework the async event code so that it should work on Windows. (dm)


git-svn-id: svn://mielke.cc/main/brltty@7837 91a5dbb7-01b9-0310-9b5f-b28072856b6e