At very low optimization levels, the call to K_THREAD_STACK_BUFFER doesn't get inlined, overflowing the tiny stack. Replace with _ARCH_THREAD_STACK_BUFFER() which on x86 is just a macro. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>