avconv_opt: fix avio_open2() return code check