pattern: store the weak ref to node in resolve()
pattern: store the weak ref to node in resolve()

The weak ref to the node is only used during the resolution and
we have the node as a parameter to resolve(), so store it there
rather than in the initial set_atts

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