tools: Allow passing the max permitted difference to gegl-imgcmp