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