avcodec/pngdec: Check IHDR/IDAT order