Replace duplicated num-or-percentage parse functions with helpers
Replace duplicated num-or-percentage parse functions with helpers

Introduces `parse_num_or_percentage{,_clamped}` helpers, which are
used by many different filter function parser functions.

GNOME/librsvg,GNOME/librsvg,GNOME/librsvg,GNOME/librsvg