[PATCH 3/5] wined3d: Make rasterizer state cleanup more consistent with samplers cleanup.