contrib: upnp: fix bind failures for non-IPv6 netintf
This patch fixes issues when a net intf provides only one version of the
IP protocol when libupnp is built with --enable-ipv6
.
This has been proposed upstream: https://github.com/pupnp/pupnp/pull/398
Refs #27001 (closed)