[PATCH 5.4 409/411] powerpc/32: Fix overread/overwrite of thread_struct via ptrace