[PATCH v4 01/14] perf parse-events: Refactor get_config_terms() to remove macros