Refactor usage of synchronized inside A2dpService

Remove unnecessary "synchronized" for some of the methods, and use
"synchronized (mStateMachines)" instead.

Bug: 73205770
Test: Manual - A2DP streaming to headsets
Change-Id: I0922d0af4260cb7b2ff8d9bb5d985c134605db8f
1 file changed