[PATCH v4 07/14] perf evsel: Add a helper to get the value of a config field