[PATCH 6.14 394/449] ftrace: Add cond_resched() to ftrace_graph_set_hash()