[PATCH v5 07/19] coresight: syscfg: Use spinlock to protect active variables