Fix member function call on null pointer in Sema::FindInstantiatedDecl.

This bug was reported by UBSan.