QCamera2/HAL3: Use mOpMode instead of mBatchSize in callback

mBatchSize is updated in process_capture_request. To access
mBatchSize in callback, need to add additional mutex lock
which can affect the performance due to thread scheduling.
Instead use mOpMode to decide between handleBatchMetadata
and handleMetadata

Bug: 24121558
Change-Id: Ibfb7b7d37300ee5cb64c03fdc38629f1aec916f3
1 file changed