tests: fix code style in threads/basic.c