Move EBADMSG and EPROTO defines out of the WIN32 ifdef

Fixes compilation on OpenBSD, which surprisingly doesn't have them
1 file changed