baseclass: replaced legacy gst_pad_set_caps()

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>