moveBody
Detaches the original body from function and re-homes it inside lambda, so it can be used as the body of an inline lambda that wraps the original code (e.g. span { … } or logged { … }).
All non-local returns that targeted function are retargeted to lambda so that the wrapping inline helper observes a normal return value instead of a return out of the enclosing function.
Shared by io.github.smyrgeorge.log4k.compiler.trace.TraceIrTransformer and io.github.smyrgeorge.log4k.compiler.logged.LoggedIrTransformer.