[Git][openldap/openldap][master] ITS#9494 autogroup: fix db_open trashing thread context