[PATCH 5/6] wined3d: Introduce wined3d_cs_require_space() helper.