demux_lavf: support new metadata update API

This Libav-invented API is of course completely different from the
FFmpeg-one. (The fun part is that I approved of both.)
vo: fix mingw compilation
options: add M_OPT_FILE flag to mark options that want a file(list)
WIP: TOOLS/zsh.pl: complete options that take file names