swr: use av_opt_set_int() instead of manual assignments in swr_alloc_set_opts().