Fix potential crash in resource-unavailable()
Fix potential crash in resource-unavailable()

Similar fix as for resource_expire(), emit the "resource-unavailable"
signal after having removed the resource from the list of available
resources.

GNOME/gssdp,GNOME/gssdp,GNOME/gssdp