Fix yet another segfault due to buffer overflow
One could cause this by `darktable --datadir `perl -e 'print "A"x5000'``