Proper passing of image data to textures.

Explicitly unbinding pixel unpack buffer when passing data from client
memory and binding it when passing data from BufferImage.
Explicit offset also in Mesh::addVertexBuffer().

The offset is present in all other functions, adding it just for
consistency (although it is redundant here).