fix for #10012

the sql statement in image.c:782 was just terribly wrong. while trying to handle
grouped images it would overwrite existing xmp files in adverse conditions.
import: avoid intermingled use of sqlite stmt within dt_image_import()
Update French translation.
lua : add a few cases of cross-reference within the documentation
lua : more severe #ifdef around lua command line options

not sure why this breaks some compilers, but apparently it does, so fix it
Merge pull request #636 from upegelow/xmp_overwrite_fix

fix for #10012
gtkrc: neutralize remaining colors
adobe_coeff: NIKON D810 support
rawspeed: experimental NIKON D810 support
Also rename isldr to format in legacy_presets

This was an oversight in 1492e024f4952e4fc7e0fa952b7fe35c2e20f755
fix handling of groups on image copy
Histogram: replace dt_iop_roi_t with new dt_histogram_roi_t
Needed preparations for loading of uncropped, unscaled (B/W) raw images
dt_imageio_open_rawspeed(): break everything! Stop cropping.
rawprepare: new IOP, no-op (passthrough)
rawprepare: allow tiling

FIXME: verify this!
rawprepare: border cropping for raw mosaic buffers
Mipmap cache: prepare for border cropping for (downsampled) floating point buffers
rawprepare: border cropping for floating point buffers
rawprepare: set IOP_TAG_DISTORT, implement distort_(,back}transform