QDoc: Change a check for found base classes to match the presumed intent
When processing classes to remove private, internal and duplicate base
classes, we check for a matching class, its status and if it occurs more
than once in the base class list.
However, it looks like the check for already found base classes is
inverted, causing base classes to be reprocessed if already seen.
It seems that it would be more appropriate to allow processing of base
classes that have not already been seen.
Change-Id: I54a607042798adb98f1750dc8055300f982665de
Reviewed-by: Topi Reinio <topi.reinio@qt.io>