kernel: support dynamic thread stack allocation

Add support for dynamic thread stack allocation

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
4 files changed