[PATCH v4 1/8] perf: Remove duplication around EVENT_SOURCE_DEVICE_PATH