[PATCH 4/4] wined3d: Properly validate the stage index in wined3d_stateblock_set_texture_stage_state() (Coverity).