in_joystick had a condition that gcc would sometimes optimize out. Basically, numaxes should equal the smaller of what SDL is reporting or MAX_AXES... original code didn't adhere to this limit, though luckily MAX_AXES is so big we never encountered issues. Fixed it to behave logicall.