Józef Kucia : wined3d: Introduce wined3d_cs_finish() helper.