fix broken TLS options for threaded LDAPS (CVE-2025-14017)

Source: Fedora 42 curl Severity Important TLS Fix for CVE-2025-14017