Fix segv in rlm_ldap_search