Fix a crash on Android when unplugging a controller during emulation.

If the action we are getting is a ACTION_CANCEL, it means that the "gesture" is aborted and we shouldn't perform any more actions on it.
Merge pull request #1323 from Sonicadvance1/Android-crash

Fix a crash on Android when unplugging a controller during emulation.