lpbin: fix wrong usage of unref for GstCaps

When newly allocated GstCaps is no longer used, it has to be unref
the GstCaps and and free all its structures and the structures' values
via gst_caps_unref.