Core: fix segfault in palette (off-by-one)
Core: fix segfault in palette (off-by-one)

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