Fix all C4267 warnings in g3dlite

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>