egl/drm: ensure the backing gbm is set before using it