patch to build ARM, ARM+NEON on cxx98 branch

cxx98's working great for me on x86!  I had to make these changes to get ARM / ARM+NEON to build today (using GCC 4.7 from Android NDK r8e, though that's only because I've been too lazy to upgrade to r9 / GCC 4.8)  Most changes are uninteresting.  On the interesting side, I wasn't sure what to do about vceqq_s64, which is ARM64-only.