Espressif RISC-V chips (ESP32-C3, ESP32-C6, etc.) with PMP enabled
use dynamic PMP mode (CONFIG_PMP_NO_LOCK_GLOBAL). In this mode,
null pointer dereference to address 0 causes a bus hang instead
of generating a clean exception, since address 0 is outside any
valid memory region and there's no PMP entry protecting it.
Use k_panic() instead, which reliably triggers the coredump path
on all Espressif chips.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>