Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz