x86 and x86_64 require certain alignment in the k_thread struct since the buffer to save/restore FPU/SSE registers requires strict alignment. Fixes #29589 Fixes #29629 Signed-off-by: Daniel Leung <daniel.leung@intel.com>