Fix compilation with SDL2. (based on a patch from matthewharveys) Fixes issue 5971. Conflicts: Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp