Introduce spawn and sync metadata

- Spawn helper functions are inserted into a spawn metadata

- Sync functions are inserted into a sync metadata
Add stack frame late initialization pass

- See afb5009 in LLVM