grep: re-enable threads in non-worktree case