curl: fix SSL init with mbedtls 3.6