test:test_thread_cooperation fixed warnings on Wformat

switched `PRIu32` with `%d` according to the printed value.
This fixes the warnings popping up when building the test for `msba2`