QCamera2/HAL3: Handle out of order buffers in bypass mode

In cpp bypass mode, if buffers are received out of
order from the backend, HAL saves them in internally until
pending buffer is received. The saved buffers are returned
only in handleOfflinePpCallback. Depending on whether
cpp bypass is used or not, this needs to be handled in
streamCbRoutine as well

BUG=31754084

Change-Id: I0ff128ab5ccdc3a2e4e0352ef66e8ad57e8f788a
(cherry picked from commit e18afe18d0225ce45f30207aee6ef03c7d9602c8)
2 files changed