Badger build failed for GOOS=linux,arm

Badger build has been failing on 32 bit machines for a while and there is an open issue about it Fix badger builds on 32 bit machines .

As for this crash, this should be a simple change as this integer is overflowing on 32 bit machines

We’re looking for contributions so feel free to send a PR.