Backport from 1.3 branch: clean up opened joysticks in SDL_JoystickQuit().
Backport from 1.3 branch: clean up opened joysticks in SDL_JoystickQuit().

notaz/sdl_omap,notaz/sdl_omap,notaz/sdl_omap,notaz/sdl_omap,notaz/sdl_omap,notaz/sdl_omap