[PATCH] coresight: tmc: Refactor loops in etb dump