tests: fix cppcheck findings

- bitarithm_timings: use more void, decrease range
- struct_tm_utility: add cppcheck-suppress invalidscanf
Merge pull request #1527 from LudwigOrtmann/cppcheck-tests

tests: fix cppcheck findings