SDL2: Improve tracing of gfx debug output