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