SpatializerThread: Fix EffectHandle release lock order inversion

Release the Spatializer EffectHandle on the PlaybackThread::threadLoop().

Test: Play spatial content with runtime lock order inversion detection
Bug: 315199903
Change-Id: I40bbb666cd511f7e128d6b9f5744627de8b7eb4e
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h
index a5afdd8..9477795 100644
--- a/services/audioflinger/Threads.h
+++ b/services/audioflinger/Threads.h
@@ -1900,6 +1900,8 @@
             REQUIRES(ThreadBase_ThreadLoop) EXCLUDES_ThreadBase_Mutex;
     void setHalLatencyMode_l() final REQUIRES(mutex());
 
+    void threadLoop_exit() final REQUIRES(ThreadBase_ThreadLoop);
+
 private:
             // Do not request a specific mode by default
             audio_latency_mode_t mRequestedLatencyMode = AUDIO_LATENCY_MODE_FREE;