Henri Verbeet : wined3d: Make the device parameter to wined3d_device_get_wined3d() const.