Fix Buffer::set_device_dirty()

I'm only superficially familiar with the gpu backeds, but I would think that set_device_dirty() and set_host_dirty() should do different things, and set_device_dirty has a typo in it. What do you think?