Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.

Discussed on:	-net@
Merge remote-tracking branch 'freebsd/master' into hardened/current/segvguard