stress2: Fix "set but not used [-Wunused-but-set-variable]" warnings
stress2: Initial import Discussed with: kib