Fixed joystick name dangling pointer.
Linux joystick cleanup.