[3.0.x] contrib/upnp: disable reuseaddr and fix option
Use of SO_REUSEADDR leads to a busy loop within libupnp and very high battery usage. This disables the option and actually fixes its functionality by patching the library. Patch to be upstreamed.
Manual backport of 74b765d8 (!3659 (merged))