bmdcapture: Factorize the data stream writer

Will be reused for different kind of metadata.
bmdcapture: Add a wallclock option

Useful to measure the pipeline delay.