tests: fix cppcheck findings

- bitarithm_timings: use more void, decrease range
- struct_tm_utility: add cppcheck-suppress invalidscanf

I'm not sure I'm happy with this, I'd just like to add context to #1432