[SPARK-25704][CORE] Allocate a bit less than Int.MaxValue