timer_test failed to compile if cmocka was enabled but threads were not

Evan Hunt requested to merge each-fix-timer-test into v9_12

Merge request reports