Fix a potential destroy of a destroyed GTK widget.

Any item in workspaces->buttons should be set to NULL after the
corresponding workspace is destroyed.