Merge pull request #1377 from fontforge/littlethings

Fix headless bitmap rendering crash.
Merge pull request #1378 from fontforge/littlethings

Safely handle some GDraw calls in headless mode.
Merge pull request #1379 from fontforge/littlethings

Fix version reporting in startnoui.c.
Remove bdw-gc as a dependency.