Synchronize methods accessing mWifiLocks

In order to avoid concurrent modification error, synchronize all the
methods accessing mWifiLocks

Bug: 184595421
Test: atest com.android.server.wifi
Change-Id: I7f398bdf405d9a16d91d20c8720118062d57c831
1 file changed