tests/hlsl: Add some fx_4_0 state tests.
vkd3d-shader/fx: Don't cast between int and uint in state blocks.