TIMOB-13395: Android: native modules broken with android-ndk-r8e

Backport to 3_1_X for https://jira.appcelerator.org/browse/TIMOB-13395