[PATCH v2 11/16] coresight: tmc-etr: Refactor function tmc_etr_setup_perf_buf()