Tentatively fixing the bug described in https://reviews.llvm.org/D68028#inline-614831.
This is not a good solution though since isThisDeclarationADefinition still doesn't work as expected.
Having isThisDeclarationADefinition use isDefinitionKind is breaking a lot of tests.
I believe there is broken code out there relying on the current behavior.