egl: add EGL_platform_device support