libclang: remove unneeded casts