avcodec/ac3: replace #define by typedef