gen_c: remove some unused imports