As you can see in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918382 gimp is relying (Depending) on a broken upload. Perhaps you could make it Depend on libopenexr24 instead of libopenexr23.