Fix LatinIME crashing if JNI lib without gesture support is installed.

Change-Id: I60292a8e272d484e1d4a4407ddceeac863d6d70e
Merge remote-tracking branch 'cm/cm-11.0' into HEAD