dt_masks_legacy_params: protect against potential (impossible) "Dereference after null check"

Coverity CID 1227578
dt_dev_read_history(): cleanup handling of "orientation (off)" history element
temperature iop: process(): cleanup Bayer part
temperature iop: process(): cleanup X-Trans part
iop invert: process(): some generic cleanup
iop invert: process(): cleanup Bayer part
iop invert: process(): cleanup X-Trans part
Temperature iop: process(): (non-mosaiced): SSE
Invert iop: process(): (non-mosaiced): SSE
Invert iop: process(): (Bayer): SSE
Fix segfault when XDG_CURRENT_DESKTOP is not set
Run iop_dependencies.py
Invert iop: process(): (Bayer): forgot clamping
Move masks version to a macro in masks.h. Requested by Ulrich Pegelow
Invert IOP: add missing #include <xmmintrin.h>
Temperature iop: show enable button
Temperature iop: disable piece if preset == passthrough
Temperature iop: remove preset 'passthrough`