context: move walk() and match() overrides from committablectx to workingctx

Authored by martinvonz.

Description

context: move walk() and match() overrides from committablectx to workingctx

Same reasoning as previous commit: these functions update the dirstate.

Differential Revision: https://phab.mercurial-scm.org/D6363