[PATCH openEuler-1.0-LTS v11 30/35] sched/psi: Fix OOB write when writing 0 bytes to PSI files