xine-ui: add patches and fix build