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