Make sure gameloop stays in original OS thread.

Without this call the goroutine containing the gameloop might escape to
another OS thread and therefore lose access to the OpenGL context.