fbdev_window: keep track of free buffers in setBufferCount

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>