Write generic SX_GROW_STACK macro
Fix formatting

I blame @sehe.