Replace all occurrences of AVERROR_IO with AVERROR(EIO).