gfxlib2: Fix 64bit gcc warning