Make dwarfmonitor compile for 0.40.14+

The scale used by the happiness monitor is similar to the scale manipulator uses.