transactions: fix mutex deadlock on layer death

We must drop the mMutex on the TransactionCompletedThread when
potentially dropping the last sp to a layer.

Bug: 133709028
Test: Transaction_tests
Change-Id: I8bbfbf16c755aee7d010a0992f7328f50d521c8b
1 file changed