Remove limit on the max array index. From upstream.

"Wed Dec 18 13:53:12 2013 UTC
Remove artificial limit on the max array index.
Adapted from a bitrig commit from Martin Natano.
OK zhuk@"

/millert@/