vo_opengl: glsl: stricter typing

Older GLSL dialects as well as GLES3 do not support the following things
in expressions:

- implicit conversions of integer constants to float
- arithmetic of float*vecN
vo_opengl: switch default FBO format to rgba, use GL_RGBA

I'm hoping this is generally more compatible, and it works with GLES.

This probably has not much of an effect on desktop GL. It also switches
only the default format for --vo=opengl, not --vo=opengl-hq.

"-hq" already uses GL_RGBA16, though since it's a sized format, the
story is a bit different, and it won't work on GLES either.
vo_opengl: cleanup dither texture creation

Might be slightly more compatible too, and will make it work on GLES.
vo_opengl: remove useless FBO test

Remove the readback stuff; it was a useless mess.

Don't test GL_R16 as FBO. The intention was to measure the effective
bitdepth of the texture, except that it was never actually done.
(There's also a OpenGL function which is supposed to retrieve the
bitdepth, but we don't use that either.)
vo_opengl: GLES 3 support

Tested with MESA on software emulation. Seems to work well, although the
default FBO format in opengl-hq disables most interesting features. I
have no idea how well it will work on real hardware (or if it does at
all).

Unfortunately, some features, including playback of 10 bit video, are
not supported. Not sure what to do about this.

GLES 2 or 1 do not work.
vo_opengl: add some OpenGL standard symbols missing on OSX

Older OSX versions are missing some OpenGL 3 symbols, apparently. At
least there's some precedent in the headers. Just add the symbols
manually for now to fix OSX (on travis-ci) compilation.
build: add -Werror=format-security, add -W flags in all platforms

The idea of using -Werror=format-security comes from MPlayer.

Try to use the compiler flags with any compiler. There's no reason not
to apply them on clang.
vo_opengl: don't assume legacy OpenGL is available with GLES

OpenGL 3.0 has the weird situation that it's "hard" to detect whether
legacy GL is really present. Since we pretend that we have OpenGL 3.0 if
we use GLES, it was assuming legacy GL is available.
command: extend revert_seek command

"revert_seek mark" basically forces the seekback point. It's basically a
one-way bookmark.
player: cosmetics: remove ancient comment

The DVD horror was confined to specific parts of the player, instead of
having it spread everywhere.