SPM: Make exception info dump available to platform specific exceptions

Make the exception info dump macro available to platform specific
exception handlers.
Rename function ending in `_t`, which is used for typedefs.

Change-Id: I242218dc3a7555290151641269659058413bcc4e
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
diff --git a/platform/include/exception_info.h b/platform/include/exception_info.h
index a272061..fb5e437 100644
--- a/platform/include/exception_info.h
+++ b/platform/include/exception_info.h
@@ -24,6 +24,7 @@
 #define EXCEPTION_TYPE_MEMFAULT    2
 #define EXCEPTION_TYPE_BUSFAULT    3
 #define EXCEPTION_TYPE_USAGEFAULT  4
+#define EXCEPTION_TYPE_PLATFORM    5
 
 /* This level of indirection is needed to fully resolve exception info when it's
  * a macro