waylandwsegl: check for valid gbm display type

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
prepare gbm support for eglInitialize

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>