drm_hwcomposer: Apply same logic for 'CURSOR' layers as for 'DEVICE'

Cursor usually is most top layer. Since it validates as CLIENT, it causes
remain layers to be validated as CLIENT, resulting performance dropping.

Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
diff --git a/include/drmhwctwo.h b/include/drmhwctwo.h
index 8c75fc0..f675429 100644
--- a/include/drmhwctwo.h
+++ b/include/drmhwctwo.h
@@ -193,6 +193,7 @@
    private:
     HWC2::Error CreateComposition(bool test);
     void AddFenceToRetireFence(int fd);
+    bool HardwareSupportsLayerType(HWC2::Composition comp_type);
 
     ResourceManager *resource_manager_;
     DrmDevice *drm_;