app: implement gimp_curve_load() and _save() in GIO

They are currently unused, but implementing them was a copy/paste
no brainer.