[FIXME] After successful call to dt_masks_legacy_params, write form back to DB

FIXME: uncomment code and write only in DR, not in LR (on thumbnal
generation)
Masks legacy params: handling of images with ORIENTATION_NONE
wip
status update on dt_masks_legacy_params: conversion of spot removal: DT_MASKS_CIRCLE work.
conversion of spot removal: DT_MASKS_ELLIPSE works
wip