[PATCH v2 05/12] perf evsel: Add a helper to get the value of a config field