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