[PATCH 9/9] wined3d: Introduce wined3d_cs_finish() helper.