[PATCH v2 06/14] coresight: etm3: Add support for handling errors