Kendall Tau: avoid integer overflow

Large n values can easily lead to n * (n - 1) / 2 to be larger than a
31-bit integer.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>