Add NDK r10, arm64-v8a, x86_64, mips64 support.

Just realized I didn't actually save the latest version of this.
This is swapped, the size of the ptr needs to be 8 on 64bit platforms, 4 on other.