sdl: Add a patch to improve detection of joysticks

with the unified input interface.