denoiseprofile: get param "mode" right when converting params from version 2 to 3