[PATCH 6.17 129/247] sched_ext: Fix unsafe locking in the scx_dump_state()