Camera3: Fix testCameraDeviceAbort test

1. The first process_capture_request call after
flush() may be a repeating request. Hence add
restarting of streams into flush() call.
2. QCamera3Stream class has race condition where
stale callback structure may be queued into mDataQ
right after QCameraQueue::flush(). This results in
the stale callback being triggered after HAL flush()
call. Enhance QCameraQueue class to handle re-initing
the queue after flush(), and not allow enqueue to
succeed if flush() is called.

Bug: 18258028
Bug: 17346660
Change-Id: Ifd5d906b778da2fa1b1794e1188c58c88b6bf8f9
6 files changed