isl_input.c: accept_affine: fix memory leak on error path