gh-144446: Fix thread-safety of FrameLocalsProxy on executing frames (#156973)

Co-authored-by: Sam Gross <colesbury@gmail.com>
4 files changed