`z_arch_esf_t` is now `struct arch_esf ` See: https://github.com/zephyrproject-rtos/zephyr/pull/73593