wined3d: Make the buffer parameter to buffer_is_fully_dirty() const.