Fix setX, setY, and setZ to use correct constructor

Square brackets were missing when creating a Float32Array, causing a
"RangeError" at runtime when trying to set values into a vec3.