mp_lua: fix compilation with libav

FFMAX is declared on libavutil/common.h.