Add basic panic handling

Unfortunately requires forcing the LLVM codegen backend for now as Cranelift support for unwinding is still experimental. Also delays getting the extension state in on_did functions to prevent looping after a panic.

Created by  finchie  on December 11, 2025
6AUGQLIKK6WY3ZB3ZQ4PCN6NXRLP65CLF2YMOTDDAP6QQAIGGELQC
Change contents