Fix possible deadlock between effect and af lock

When updating the CSD metadata we should not hold the effect lock.
Updating the metadata after we unlock the effect chain.

Test: logs and dumpsys
Bug: 267272643
Change-Id: I3c5f1f1d398e5bcdaaeefb413c63eb0394a7f397
1 file changed