glib-compile-resources: Fix non-ASCII arg parsing on Windows
When the source directory contains non-ASCII symbols, argument parsing previously failed on MINGW64.
Fixes: #3003 (closed)
Closes #3003 (closed)
This is a re-submission of !3445 (merged) because something about the fork configuration there is causing the coverage test to reliably fail.