test:test_thread_msg fixed Wformat warnings

switched `%d` with `PRIu32` to rip off `[-Wformat]` warnings