writerfilter: remove dead doctok detection code

Change-Id: Ib39d54ce37b9e41ab6aff742d7680a7cd76168cd