fix error messages, remove redundant EXIT_FAILURE return for EGL extension check