Fix GetMaxSimultaneousThreads off-by-one on Android.