Type safe stack allocator

Signed-off-by: Kohei Takahashi <flast@flast.jp>
Remove unsafe lol_init

Signed-off-by: Kohei Takahashi <flast@flast.jp>
Merge commit '6fc84a2012ecd76ff3c503f774cb662107dbae1e' into wip/cxx-conversion
Fix compile error with C source

Signed-off-by: Kohei Takahashi <flast@flast.jp>