[PATCH 3/6] d3d10/effect: Fix index access in GetSampler().