add FreeTexImageData hook to help single-copy texturing in drivers