availabilitykind: extract from clang.go
translationunitflags: extract from clang.go
sourcelocation: impl clang_Location_isInSystemHeader + clang_Location_isFromMainFile