patches/packages: perl-www-curl: compatibility with new curl
After update of curl, perl-www-curl stopped to compile. The newer versions have some incompatibilities. This patch ensures compatibility. Taken from openwrt/packages commit: f51a784a83e4b5e4068de6e0c4c6b86b479d1144