sdl2: add hooks for pyinstaller
Merge pull request #2619 from kivy/sdl2_hooks

sdl2: add hooks for pyinstaller