ITS#9781 Relax refcount assertion for referrals

Merged Ondřej Kuzník requested to merge ondra/openldap:its9781 into master

Merge request reports