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