Detect TypeKind.TYPEDEF for libclang <= 2.8.