blending: fix nasty bug in legacy parameter handling; should fix #9466

if you opened legacy history stacks with git master in the last 8 weeks or so,
chances are that blend parameter sets in these images got corrupted. please check and
if needed restore from backup.
Merge branch 'master' of ssh://github.com/darktable-org/darktable