[PATCH openEuler-5.10 49/59] powerpc/32: Fix overread/overwrite of thread_struct via ptrace