ogl: add osmesa patch

Allow building mve/ogl against osmesa for software rendering.