Remove use of 'register' from QtXmlPatterns.

Change-Id: I7d5136b9381fcce1ac7233ac743ab205d73ca0fa
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>