avcodec/proresdec2: Reset slice_count on deallocation