don't call SDL_JoystickClose unless the joystick is currently open, fixes crash when adding using rc-unit-notifier