selinux: Correctly handle IPv4 packets on IPv6 sockets in all cases