Adjust WELS_EVENT definitions to allow sharing more code between unix and win32 codepaths

https://rbcommons.com/s/OpenH264/r/147/