[libclang] In clang_reparseTranslationUnit_Impl, move the check whether TU is
null before using it.