[PATCH v7 03/22] perf tools: Add coresight trace decoder library interface