fix memleak in ast_local_codegen
ast_expression_delete: delete varparam if it is set - fixes another leak