GLib test: Adjust to follow the implementation
Canonicalization converts slashes to backslashes on Windows (most of the time). This is a horrible design decision, but that's what it does, and it's too late to change that. The test shouldn't expect anything else.
(cherry picked from commit 274b1cf6f9ba7fbdeaedaf21729b0b0a671b3426)