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