libav: copy over dependencies from homebrew's ffmpeg

This seems to fix optional dependencies and being consistent with ffmpeg is a
nice thing.

Fixes #3