Fix two uninitialized variables in dt core and monochrome.
Thanks to Daniel Blueman! This fixes #9189
Merge branch 'master' of github.com:darktable-org/darktable