Core: Fix preallocated surfaces with DSCAPS_STATIC and GPU lock with prealloc pool not supporting it.
Core: Fix preallocated surfaces with DSCAPS_STATIC and GPU lock with prealloc pool not supporting it.

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