kmsagnosticbin2: unref input_caps when needed
kmsagnosticbin2: unref input_caps when needed

Change-Id: I80159605b846c59b57da437c009970f2116847a9

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