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