libclang: remove unneeded const_casts