egl/surfaceless: add probe device helper function