curl: Update to fix critical security issue CVE-2023-38545
The current master branch contains libcurl 8.2.1. The versions 7.69.0 through 8.3.0 contain a security issue which has been rated "high" (heap buffer overflow which can be triggered remotely): https://curl.se/docs/CVE-2023-38545.html
libcurl should be updated or the fix should be backported, probably also to older CMake versions which are still supported.