Remove duplicated AC_DEFINE().

Both HAVE_GL_GL_H and HAVE_OPENGL_OPENGL_H might be defined
by the AC_CHECK_HEADER(), so we should not define them with
AC_DEFINE().

This commit fixes the incorrect configure result of
AC_C_BIGENDIAN() when we add -Werror to CPPFLAGS.