qga: Fix compiler warnings (missing format attribute, wrong format strings)