Basic structure for NX1 decoding
Get the basic NX1 decoder working
Basics of NX1 pixel initialization (still broken)
Implement rest of NX1 refpixels, still broken
Finally make the NX1 decoder work properly
Finally make it work properly. I also had to change the bayer pattern as the one we got from the DNG has red and blue swapped. There's a simple reason for this. Adobe seems to be doing the red/blue swap that's needed for the NX3000 on the NX1 as well. This is broken and generates color fringing in the DNG that isn't there when the file is correctly processed.
Add final acknowledgments in the NX1 code
wb_presets: Canon EOS 7D Mark II. Fixes #10236

Data by Alexander Steffen
dt_dev_pixelpipe_process_rec(): avoid integer overflow on big images
Initially reported by frogs (@IRC). Thanks!

Fixes a crash on 135MP+ images when zooming in (100%) on bottom right corner of image.

TODO: find a way to automatically check ALL the similar code and make sure that all of it handles this situation correctly.
ImageIO Format TIFF: use scanline-based I/O. Fixes #10230

Also do check for TIFFWriteScanline return code and abort on first error.

As for TIFFTAG_ROWSPERSTRIP: (from specs)
Choose RowsPerStrip such that each strip is about 8K bytes, even if the data is not compressed, since it makes buffering simpler for readers. The 8K value is fairly arbitrary, but seems to work well.
That means,
	StripSize = 8 Kbyte
	RowSize = WIDTH pixels * 3 * X bit/pixel
	RowsPerStrip = roundf(StripSize / RowSize)
And in 99%, RowsPerStrip is 1.