graphics.library: Be tolerant of a NULL GfxBase->gb_LayersBase