qga: use wide-chars constants for wchar_t comparisons