Make av_fill_image_linesizes() return a meaningful error core rather