document.h: avoid casting away const
document.h: avoid casting away const

Another instance of casting away constness via C-style cast
has been missed (introduced by #20).

zhengxle/rapidjson,zhengxle/rapidjson,zhengxle/rapidjson