lavc/cbs_h2645: Use av_realloc instead of av_malloc