Camera: Fix race condition between initialize and statusCallback

Camera status callback may be triggered during
ProviderInfo::initialize(). Acquire mLock for the duration of
initialize() to avoid the race.

Bug: 159201665
Test: vendor testing, Camera CTS
Change-Id: I0be55c6b72b63e86ce100dd8d46947d86c8c6c34
1 file changed