[Git][openldap/openldap][OPENLDAP_REL_ENG_2_4] ITS#9181 fix ldap_pvt_thread_mutex_t used before its definition