[PATCH openEuler-5.10-LTS 517/559] wireguard: socket: ignore v6 endpoints when ipv6 is disabled