Matteo Bruni : d3d8: Range-check GetPixelShaderConstant() indices to the d3d8 limit.