jit.dg: fix issue with compilation of test-threads.c