Fixes compilation error

need ‘typename’ before
‘rapidjson::StreamTraits<InputStream>::StreamCopyType