libclang: remove a few const_casts