Use the size of the palette in dfb_palette_generate_rgb332_map() instead of assuming 256 entries.
Use the size of the palette in dfb_palette_generate_rgb332_map() instead
of assuming 256 entries.

kevleyski/DirectFB-1,djbclark/directfb-core-DirectFB,kevleyski/directfb,jcdubois/DirectFB,Distrotech/DirectFB,djbclark/directfb-core-DirectFB,dfbdok/DirectFB1,lancebaiyouview/DirectFB,djbclark/directfb-core-DirectFB,dfbdok/DirectFB1,deniskropp/DirectFB,sklnet/DirectFB,deniskropp/DirectFB,kaostao/directfb,Distrotech/DirectFB,kaostao/directfb,kevleyski/directfb,mtsekm/test,dfbdok/DirectFB1,kevleyski/DirectFB-1,mtsekm/test,DirectFB/directfb,deniskropp/DirectFB,kevleyski/DirectFB-1,sklnet/DirectFB,lancebaiyouview/DirectFB,mtsekm/test,lancebaiyouview/DirectFB,lancebaiyouview/DirectFB,kevleyski/directfb,Distrotech/DirectFB,djbclark/directfb-core-DirectFB,sklnet/DirectFB,kevleyski/directfb,DirectFB/directfb,deniskropp/DirectFB,sklnet/DirectFB,jcdubois/DirectFB,DirectFB/directfb,kaostao/directfb,jcdubois/DirectFB,kevleyski/DirectFB-1