Move XSLTProcessor class check to hook_requirements()