app: port gimp_interpreter_db_resolve() to GIO