Fix coverity warnings in benchmark tools.

Again, not harmful, but best to stay warning-free.