Fixed crash in game controller support code

Joystick's startup and shutdown (of Native OS X backend) can be called more than once
Merge branch 'master' of https://github.com/rheit/zdoom