Fixed use of std::abs() with integer argument.

Causes compilation on GCC 4.4 to fail.