builtin/apply: move 'whitespace_option' into 'struct apply_state'