libgimpbase: use gexiv2_metadata_get_exif_tag_rational() to get the resolution

and remove our own rational parser, we can get it back from git if we
need it again.