Disable unit tests for SDL2 builds.

SDL_KillThread or an equivalent doesn't exist in SDL2. Achieving the same
functionality the "SDL2 way" is problematic here, so I'll just disable this
code for now.