vc1dec: prevent memory leak on av_realloc error