isl_ast_graft_list_merge: plug memory leak on error paths