tools: use the new pad_link_return function for gstreamer if available