[libFuzzer] make trace-based fuzzing not crash in presence of threads