Avoid integer overflow in gmx_wham by using gmx_int64_t.