mesa/dd: Add a function for creating a texture from a buffer object