[PATCH v2 OLK-5.10 17/40] coresight: tmc-etr: Fix barrier packet insertion for perf buffer