Fix some compiler warnings in cgame and game