app: don't set the same GFile again in gimp_imagefile_set_file()

I don't think this can happen, but better safe than sorry.