demux_lavf: add configure checks for side_data required for metadata

Apparently, libav doesn't have any of this API (yet?).