[PATCH v5.4] powerpc/32: Fix overread/overwrite of thread_struct via ptrace