libgui: reset buffer count to max slots instead of returning BAD_VALUE.

CRs-Fixed: 3013293

Change-Id: Idfafcd6aa718054ff749bd5d1c7eb2630be0f109
1 file changed