Merged r17800, r17801 into 3.20 branch.

Limit the size for typed arrays to MaxSmi.

Limit size of dehoistable array indices

BUG=319722,chromium:319835,chromium:319860
R=yangguo@chromium.org

Review URL: https://chromiumcodereview.appspot.com/115013003

git-svn-id: https://v8.googlecode.com/svn/branches/3.20@18322 ce2b1a6d-e550-0410-aec6-3dcde31c8c00