[Git][openldap/openldap][master] ITS#10578 libldap: Make sure error stack is empty before a checked SSL_*() call