winpthreads: spinlock.c: call `CreateEventW` instead of `CreateEventA`

Unicode APIs such as `CreateEventW` are preffered over ANSI such as
`CreateEventA`; the former, however, are not supported on Win9x systems.

In the current state, winpthreads does not support Win9x systems, so use
Unicode APIs instead.

Signed-off-by: Kirill Makurin <maiddaisuki@outlook.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-libraries/winpthreads/src/spinlock.c b/mingw-w64-libraries/winpthreads/src/spinlock.c
index 836f16c..2f05164 100644
--- a/mingw-w64-libraries/winpthreads/src/spinlock.c
+++ b/mingw-w64-libraries/winpthreads/src/spinlock.c
@@ -171,7 +171,7 @@
   }
 
   wSpinlock->ThreadId = THREAD_ID_NO_OWNER;
-  wSpinlock->Event    = CreateEventA (NULL, FALSE, TRUE, NULL);
+  wSpinlock->Event    = CreateEventW (NULL, FALSE, TRUE, NULL);
 
   /**
    * The pthread_spin_init() function shall fail if: