use normal 'abs()' function for integer type

MSVS correctly complains that there are no overloaded definitions for fabs with an integer as an argument.