LatinIME: Fix build with -DNDEBUG and gcc 4.6+ -Werror

Fix variables being defined but not used in the NDEBUG
case, needed to fix the build with gcc 4.6+ -Werror

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Add workaround for SW keyboard not opening in gcc 4.8 based builds

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Merge branch 'linaro_android_4.4' of http://android.git.linaro.org/git-ro/platform/packages/inputmethods/LatinIME into kk4.4