glretrace: Don't call glFlush when switching threads.

This cause many spurious glFlush calls on traces where there are
more than one active thread with interleaved calls.

Spotted by Brian Paul.