Prevent allocation craziness

If a negative value was passed in the the ArrayBuffer length would
evaluate to -1. Strange...