Add libavutil/mem.h include

Not pulled in by other include anymore in recent releases of libav