spearmint: Range check joystick threshold

Fixes possible division by zero in mint-arena.