Changes to allow wrap_libav.jl to work with recent Clang changes.

This isn't quite functional yet, but these changes are necessary for it to run with the latest Clang.