[PATCH v13 3/8] coresight: core: Add provision for panic callbacks