d3dcompiler: Allow casts to arrays.