fbdemos: fix segfault when operating single-buffered
Merge pull request #28 from tchebb/master

Fix fbdemos segmentation fault when using single-buffered fbdev devices