builtin/apply: move 'no_add' global into 'struct apply_state'