windres is not always present whereas goversioninfo is easy to install.
This also fixes the generation of resource.syso to be part of the
standard build script instead of only the AppVeyor CI build.
Finally, adapt update-version.sh to patch versioninfo.json.