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