libclang: use getCursorTU and getCursorASTUnit instead of explicit casts