qga: Fix mingw compilation warnings on enum conversion