QCamera2: HAL3: Fix ERROR_REQUEST/ERROR_BUFFER bugs - ERROR_REQUEST shouldn't be called twice for a single requset - ERROR_BUFFER notify should be called if a buffer's status is set to ERROR. - During flush, if some buffers have been returned, instead of trigger ERROR_REQUEST, trigger ERROR_RESULT and ERROR_BUFFER (for remaining buffers). Test: Camera CTS Bug: 155353799 Change-Id: Id74c4c3d35c75b5fd5fb20ee72c63a3a1c88f836