[Git][openldap/openldap][master] ITS#9526 slapd-mdb tools: fix cursor init check