imageop: tune up X-Trans bilinear downsample

don't offset up/left compared to VNG/Markesteijn
use floor of sample size for more sharpness
#10029: fix lens detection for Sony ILCE bodies
Merge branch 'master' of https://github.com/darktable-org/darktable
[l10n] Swedish update
New Nikon D800 basecure computed with dt-curve-tool.

This new basecurve looks far better in the dark tones and closer to
the corresponding jpeg used during the process.
Fix comment, add message to do the purge in the database.
basecurve: add measured 6d curve
Set min for cache_size to 100 MB

This is however not enforced in the code, it's just used for the
preferences dialog!
Merge pull request #639 from dtorop/xtrans-bilinear-tuneup

imageop: tune up X-Trans bilinear downsample
Exposure IOP: fix autoexp

Was broken by 441984a871c5c1edb3937b490c437ab5c0b7a693
Lighttable: fix 2 heap-buffer-overflow [AddressSanitizer]
Use automatic instead of auto.

This is consistent with the naming in exposure and levels iop.
Add a way to translate feminine/masculine version of manual nouns.

This is needed for the French translation at least.
Update French translation.

Fixes #10037.
don't crash at zoom just < 200%

to address bug # 10025
be more punctilious about type casting
Fix #10040: Support ICC profiles embedded in TIFFs
Exposure IOP: disable piece de-enabling due to "display mask" not working

Adding check for piece->pipe->mask_display does not work because click on
"display mask" does not set DT_DEV_PIPE_SYNCH (thus, commit_params does not get's called)
process only half width & height in closeup mode

No need to calculate the whole 100% roi if are viewing at 200%. This
allows the viewing area in closeup mode to go all the way to outer
edges of the image without trying to calculate beyond the image edge.
fix zoom jumping at edges

This reverses a change from
darktable-org/darktable@54f0f75c23f80b037715c4a47be58c9118698a1f. The
zoom jumping that commit fixed is now solved by the prior commit,
which only calculates the viewable rectangle in closeup mode.