Apply minor simplification in av_read_image_line().