rm unused imported field
typecheck cgo packages without passing them through cgo tool so that we get the correct offsets