glcontext_egl: split Mesa surfaceless platform check
glcontext_egl: split Mesa surfaceless platform check

This reduces the diff of the next commit.

gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl