Merged r20022 into 3.24 branch.

Apply numeric casts correctly in typed arrays and related code.

BUG=353004
LOG=N
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/209393014

git-svn-id: https://v8.googlecode.com/svn/branches/3.24@20222 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merge remote-tracking branch 'upstream/3.24' into 3.24