CVE-2023-0614 libcli/security: Make some parameters const