Touch events cause segfault on Android

I tested SDL2 from Mercurial today (7dbbee37826b) and discovered that touch events on Android result in a segfault. I’ve managed to track down the
cause and created a patch. Further information can be found here:

https://bugzilla.libsdl.org/show_bug.cgi?id=2611

Cheers,

Alvin