graphics: enhance Texture.blit_buffer to know about ByteArray