Camera3: Proper cleanup in putStreamBufs for YUV channel

In the case of flush(), stream may be turned off before
turned back on. putStreamBufs() needs to handle clearing
of free buffer list, and offlinePpList for YUV channel.

BUG=24195824
BUG=24416207
LACAM-972
LACAM-1372

Ack by Shuzhen Wang

Change-Id: Id37aa8e8ec5b8d67b57260101c7484113aabdcd5
2 files changed