use fast function pointers for scaling algorithm selection

The first implementation used boost function pointers but these
are much slower for many reasons. This commit refactors the system
to use traditional C-style function pointers, which is all that is
actually needed.
Merge branch 'master' of https://github.com/wesnoth/wesnoth