fixing bug #141384 where the reader didn't call the deregistering

* xmllint.c xmlreader.c: fixing bug #141384 where the reader didn't
  call the deregistering functions. Also added the check to
  xmllint --stream --chkregister .
Daniel
3 files changed