[PATCH openEuler-26.09 407/408] sched_ext: Fix unsafe locking in the scx_dump_state()