Fix ndk r10c compilation

Tested with 
- NDK: r9d  r10c 
- ABI: armeabi armeabi-v7a x86