ui: expose min framebuffer count variable

Change-Id: If9524c6fbb0d28484e24c5e908ca41fb6604537b
Fix aliasing violation in latest HWComposer

Change-Id: If51327979123d672005b8da6da7041e3c271f698