Make sure that, when ambiguous, both the package and the callable/class/property are resolved from KDoc reference. Do a slight refactoring of `KDocReferenceResolver` This behavior is also true for K1