[f16ref][gbox2.0] Fix various compile warnings.