Avoid segfault when SDL_JoystickNameForIndex returns null (no joystick for that id.)