gl: support 10bit planar yuv for both GL and GL ES2 with the same
solution

None of vlc, mplayer, xbmc support it! I'm the first!