avutil: add constants and functions in libavutil/opt.h