[PATCH 4/5] wined3d: Only set valid render states in wined3d_device_context_set_state().