[Issue 8531] Segfault in servers/slapd/back-sql/search.c