Fix possible double free.
Found with scan-build + clang v13
[802/1269] Compiling C object operations/core/gegl-core.so.p/load.c.o
../../../operations/core/load.c:285:3: warning: Attempt to free released memory [unix.Malloc]
g_free (content_type);
^~~~~~~~~~~~~~~~~~~~~