remove the deprecations and warnings.
This patch adds saveTvg() function into thorvgwasm.cpp. Functions saves tvg using File System API. To enable fs, changed build flag: -s FORCE_FILESYSTEM=1. Increase in result thorvg-wasm.js size: about 68kB to about 125kB.
Support Emscripten wasm build for thorvg viewer