Modify coro_malloc() to diminish fragmentation

Use coro_malloc() instead of allocating buffers in the stack, so that stack
size can be shrunken again.