Camera: Handle RESULT_ERROR followed by BUFFER_ERROR

In case a result error is followed by a buffer_error for a particular
request, current logic won't be able to remove the pending request from
the inflight queue.

Moving the skipResultMetadata flag into InFlightRequest struct fixes the
issue.

Test: Camera CTS
Bug: 64840907
Change-Id: Iac44e431f9e9fc38684f8509328c777f9cf5f956
2 files changed