imageop: tune up X-Trans bilinear downsample

don't offset up/left compared to VNG/Markesteijn
use floor of sample size for more sharpness
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.
keep w/in image edge when switch out of closeup

otherwise it would be possible in darkroom mode to:

- turn off flip iop
- set to 200% zoom
- pan to bottom edge
- switch back to 100% with Alt-1
- see a black border at the bottom of the image view
check zoom bounds in dt_dev_process_image_job()

Check zoom bounds here every time rather than in zoom_key_accel().
This now catches the case of toggling from 200% to 100% at image edge,
but also a case when switching between aspect ratios or changing image
orientation.

Note that now dt_dev_check_zoom_bounds() gets called more times than
necessary -- either unnecessarily in dt_dev_process_image_job() or
gets checked in other functions as well as in
dt_dev_process_image_job().
more selective about when to check zoom bounds

Only check in dt_dev_process_image_job() if changed to a different
image or changed pipeline. Restore separate check if toggle closeup.
Merge pull request #643 from dtorop/zoom-crash-garbage

eliminate crash & garbage on 2x > zoom > 1x
dt_exif_read(): check stat() return value

Coverity CID 1087782
RawSpeed: RawDecoder::decodeUncompressed(): cast before multiplying

Coverity CID 1230646