gfx: fix build broken by previous commit