operations: Use the double version of abs in image-compare

... instead of the integer version.