lua : fix a bad case of use before init
#10097: uncommon .jpeg files aren't RAWs
Add groupid & flags to image information lib

This is mostly for debugging purposes, so we migth #ifdef it out when
building from a source package and only leave it in when compiling from
git.
Use size_t to store buffer sizes. With this (and probably following), DT can open 26770x13385 TIFF
_read_planar_16(): get rid of dt_imageio_write_pos()
Was done when trying to open 26770x13385 TIFF
_read_planar_f(): get rid of dt_imageio_write_pos()
_read_planar_8(): get rid of dt_imageio_write_pos()
TIFF ImageIO: cleanup: remove unused orientation from struct tiff_t
TIFFReadScanline() can fail. report it back to dt_imageio_open_tiff()
TIFF ImageIO: replace imagelength with height and drop imagelength
TIFF ImageIO: alloc only 1 buf.
This also fixes potential issues when buf was not allocated or if(t.spp > 1 && config != PLANARCONFIG_CONTIG)
rawspeed: proper cropboxes for recent olympus e-m/e-p's (#10093)
rawspeed: add experimental support for olympus e-pl6 (same as e-pl5)
Merge pull request #670 from LebedevRI/tiff-358mpix

Fix opening 358MPix Tiff
struct dt_mipmap_buffer_dsc: use __attribute__((packed,aligned(16))) for padding
Type size_е may have different size on 32-bit machines, so let's try to make compiler do the padding.
[l10n] Swedish update
dt_imageio_open_rawspeed_sraw(): clamp at 0.0f after scaling
Histogram: replace dt_iop_roi_t with new dt_histogram_roi_t
Spots IOP: legacy_params(): adapt for latest mask changes
dt_masks_legacy_params(): refactor v1 -> v2 to a function, prepare for v3