Revert "Use int64 for collecting command stats"
This reverts commit 0d6dba88.
Fixes omnibus-gitlab#7321 (closed)
It turns out we publish official raspberry pi 32bit packages. So gitaly needs to build in 32bit mode too.
The problem here is that rusage is defined int64 or int32 depending on architecture https://github.com/golang/go/blob/go1.18/src/syscall/ztypes_linux_arm.go#L72-L89 so to support both it needs to be cast.
Edited by James Fargher