libgimpconfig: port GimpConfigWriter to GIO