Józef Kucia : wined3d: Introduce wined3d_device_get_constant_buffer() helper function.