don't redefine AF_PACKET on non-linux unices

Turns into an error on OmniOS, for example (and probably other Solaris-derivatives).