dirmngr: fix LDAP query PATTERNS limit check.