lavf: dealloc private options in av_write_trailer