Add a way to autoapply a preset based on picture format.

The picture format is already used in the preset circuitry only the GUI
was missing a way set the properly the database. The isldr is now set
with the three possible values 1 (ldr), 2 (hdr+raw), 0 (both).

For #9540.

This is definitely for after 1.4. It allows a preset to be applied on hdr or ldr (or both) formats. All the circuitry for this behavior was there, the isldr value in the database was just not set.

I'm not ok with the name I have used:

for ldr and hdr
for ldr only
for hdr only

Maybe more user friendly with:

for all formats
for non RAW only
for RAW only