LPS-50700 remove XML declaration from diff

An XML declaration is always added to the output diff. As the diff is
never a valid XML document and it will be always embedded as an HTML
fragment, we should remove the decl line.
LPS-50700 SF