loader: convert to using loader_stack_alloc for consistency
2 files changed