Data race with state field of ThreadPoolElement Description of problem: A data race in the access of `ThreadPoolElement` state field in `util/thread-pool.c` was identified using TSAN. Steps to reproduce: ```sh QEMU_BUILD_DIR= QEMU_DIR= configure --enable-tsan --cc=clang --cxx=clang++ --enable-trace-backends=ust --enable-fdt=system --disable-slirp make tests/unit/test-thread-pool MALLOC_PERTURB_=111 G_TEST_SRCDIR=$QEMU_BUILD_DIR/tests/unit G_TEST_BUILDDIR=$QEMU_BUILD_DIR/tests/unit $QEMU_BUILD_DIR/tests/unit/test-thread-pool --tap -k ```