windows: build moonshot-webp as console, not gui, app
windows: null-terminate error message in moonshot_error_new
Windows: improve error reporting

Check for error from init_rpc() in moonshot_install_id_card().
Also fix compile warnings.