egl/surfaceless: Fix comparison between pointer and integer