st: Be more forgiving when calling get_theme_node() on unstaged widgets

Most of this commit was already in there

https://bugzilla.gnome.org/show_bug.cgi?id=610279