Move legacy map_location arithmetic to terrain_builder.cpp

This is the only place where it is now used, so we move it out
of the map_location.?pp files and into the private space of
terrain_builder.cpp
Merge branch 'master' of git://github.com/wesnoth/wesnoth