Bug 1040593 (attempt 2) - Partly allocate elements for |new Array(N)| when N > 2048. r=jandem,bhackett.

--HG--
extra : rebase_source : 2bcccb3aa1543649eb30cd8c43680fc09ec6df91