avcodec/amr: replace #define by typedef