Fix build with -Werror=format-security (default in Android NDK r9)
Fix build with -Werror=format-security (default in Android NDK r9)
Merge pull request #3288 from minggo/ndk-r9-fixes

Fix build with -Werror=format-security (default in Android NDK r9)