Avoid negating MIN_I64

As -MIN_I64 > MAX_I64, it's undefined. Avoid this by treating it as a
special case.

Reported by GCC with -fsanitize=undefined.