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

Missed to remove BAD_VALUE... *_*

Change-Id: I36f4385f9a09026ed6d0fb627d10fc490a53f5b9
Signed-off-by: micky387 <mickaelsaibi@free.fr>
diff --git a/libs/gui/BufferQueueProducer.cpp b/libs/gui/BufferQueueProducer.cpp
index c08552e..9ce0ccd 100644
--- a/libs/gui/BufferQueueProducer.cpp
+++ b/libs/gui/BufferQueueProducer.cpp
@@ -218,9 +218,8 @@
             BQ_LOGE("setMaxDequeuedBufferCount: bufferCount %d too large "
                     "(max %d)",
                     bufferCount, mCore->getTotalSlotCountLocked());
-                    bufferCount = mCore->getTotalSlotCountLocked();
-                    maxDequeuedBuffers = bufferCount - minUndequedBufferCount;
-            return BAD_VALUE;
+            bufferCount = mCore->getTotalSlotCountLocked();
+            maxDequeuedBuffers = bufferCount - minUndequedBufferCount;
         }
 
         const int minBufferSlots = mCore->getMinMaxBufferCountLocked();