cgame: fix some warnings