Fixes #2403, add SDL2 dependency to testgles2 (thanks Hiroyuki Iwatsuki)