pattern: partially remove interior mutability
pattern: partially remove interior mutability

We still use refcell for the pattern node used during resolution.
Also, the whole module can probably be simplified merging the
NodePattern and Pattern structs.

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