kmsloop: Do not try to get GST_OBJECT_NAME from an non GstObject
kmsloop: Do not try to get GST_OBJECT_NAME from an non GstObject

Change-Id: I5b60c339cff317e0e80f6c6fffcf2cf98fea35a0

ESTOS/kms-core,Kurento/kms-core,shelsonjava/kms-core,ESTOS/kms-core,TribeMedia/kms-core,shelsonjava/kms-core,ESTOS/kms-core,shelsonjava/kms-core,ESTOS/kms-core,TribeMedia/kms-core,Kurento/kms-core,KurentoLegacy/gst-kurento-plugins,Kurento/kms-core,KurentoLegacy/gst-kurento-plugins,shelsonjava/kms-core,TribeMedia/kms-core,KurentoLegacy/gst-kurento-plugins,KurentoLegacy/gst-kurento-plugins,Kurento/kms-core,TribeMedia/kms-core