[PATCH v8 3/7] coresight: core: Add provision for panic callbacks