(ITS#4974) tls calls ldap_pvt_thread_self with wrong prototype