avcodec/ylc: do not leak memory at uninit