[PATCH v2 05/14] coresight: etm4x: Add support for handling errors