Masks legacy params: fix DT_MASKS_GRADIENTDT_MASKS_BRUSH