libclang: remove reinterpret_casts by using SourceLocation::getPtrEncoding