mesa: Add driver hooks for texture image mapping/unmapping.