lv-tool (sdl, stdout_sdl): Fix crash when resizing OpenGL displays (fixes #57)