It is causing issue with AMD OpenCL drivers, due to a potential driver bug. Ref T84461
Rather than passing around void pointers, various Blender image sources now subclass this. OIIO is also just another type of image loader. Also fixes T67718: Cycles viewport render crash editing point density settings