Bug 997973 - Fix Gaia consumers that call typed array constructors witho...

Fix Gaia consumers that call typed array constructors without "new".

In ES6, using an ArrayBuffer or any typed array without calling "new" is a type error. This PR intends to fix all wrong uses of ArrayBuffer and typed arrays in tree.

WIP.