[Git][openldap/openldap][master] Revert "ITS#9952 libldap: use atexit for TLS teardown"