stacktraces: fix callstack copying edgecase (Sc)
(compilation-only commit)