Extract the surface stack handling from push/pop_render_stack()
Extract the surface stack handling from push/pop_render_stack()

This will make it easier to port push/pop_render_stack() to Rust.

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