pothos-sdr: work on common code for source/sink