libopencore-amr: Check the return value of amr_decode_fix_avctx