testgles2: Add --threaded option to use a render thread per window This is helpful for reproducing bugs like #6056