Fix to build on OpenBSD

OpenBSD have SO_PEERCRED, but not have struct ucred.  Instead they have struct sockpeercred to the same function.  Used #define to mask the names only on OpenBSD.