[PATCH v4 3/4] coresight: Add a helper to check if a device is source