Gfx: Add missing HRESULT check