cleanup some defines. remove useless geptr instruction. repair GC_FINAL_STATS.