TestDriver: Fix -Wstrict-overflow for GCC 7 and earlier

Fixes: #13955

1 file changed