Small changes enabling compiling libgit2 for Android.

Those changes allowed me to successfully crosscompile libgit2 for Android using Android NDK toolchain. I've also updated README.md with instructions.