(Lakka) Make some globals static
(driver.c) Add driver_video_resolve()

This function returns the real video driver data when threaded video is
in use.
(Lakka) Shut valgrind up
Merge pull request #990 from heuripedes/lakka-get-gl

Lakka and GLUI fixes for threaded video