Ensure each stack is properly aligned by rounding up the stack size.
This is critical when CONFIG_SCHED_HPNTHREADS > 1 or CONFIG_SCHED_LPNTHREADS > 1
to ensure all thread stacks start at properly aligned addresses.
Without proper alignment, subsequent threads' stacks may start at misaligned
addresses, which can cause:
- Hard faults on architectures with strict alignment requirements
- Performance degradation due to unaligned memory access
- TLS corruption when CONFIG_TLS_ALIGNED is enabled
Signed-off-by: pangzhen1 <pangzhen1@xiaomi.com>