Fix vec array initialization in GLSL & HLSL (should fix some DX compiler problems)

Fixes #354