configure: add a feature test for OpenGL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>