vkd3d-shader/hlsl: Add an explicit cast to uint for array index access.
Parameter copy creates uint1 variable, and later that breaks due to type mismatch (with 'uint'), when offset expression is constructed.
I tried to add a rendering test too, but that for some reason failed for me in d3d12 runner, as soon as I added input parameter.