fix bug, copy gen_var_kinds of implementation module to definition module for exported generic functions