echosounder: prepare for dual-beam and split-beam modes

Need more C coding.  And need to check on single-beam to ensure RLE
done right.  (It seems only zero-value runs are used.)