Make dwarfmonitor compile for 0.40.14+

The scale for the happiness monitor is similar to the scale manipulator uses.