[PATCH] perf cs-etm: Improve version detection and error reporting