[Issue 10335] [PATCH] ldapsearch: fix handling of -LL in print_reference()