Changes handling of HaltReason Change the stored type of HaltReason to be the HaltReasonValueType (the integer type underlying enum class HaltReason), and allow for user defined halt reasons to be used in architectures to provide ways to signal usecase specific halt reasons. PiperOrigin-RevId: 563146717