cairo: Avoid GLib-GObject-CRITICAL from g_object_unref() on error path.