Fix missing import in nimprof.nim when --threads:on