libclang: remove unneeded const_cast