libui: Add ability to define min frame buffers

Allow defining the minimum amount of framebuffers
to be used.

Change-Id: If9524c6fbb0d28484e24c5e908ca41fb6604537b