[WiP] gallium: Work in progress on OpenFIMG driver

Changes:
 - fix/work-around various issues related to X11 support.