tree2scop.c: handle_writes: separate out handling of assignments