gstpad: Recheck pads when linking after temporary unlock
This commit makes sure that pads are valid for linking after the pads has been temporarily unlocked in the linking process. Not doing this opens up for a race condition where pads potentially can be linked twice.