Add missing #ifdef INET6 ... #endif
Add missing #ifdef INET6 ... #endif

Makes non-IPv6 kernels build again

blame and ok henning@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars