[PATCH 5.15 238/247] powerpc/32: Fix overread/overwrite of thread_struct via ptrace