buffer_util: Handle empty BufferQueue. Crashing when the queue is empty isn't nice. Change-Id: I9910c2581d4fcc92ac74acb0d8bf683aea5753c8