[libclang] In clang_getCursorType, don't crash if the translation unit is not
set on the cursor; return a null type in such a case.