[ros] only unregister topic if it exists

Finalize failed if a ROSPublisherTF was used to publish TF only since self.topic doesn't exist.