[FORWARD PORT] LPS-50700 remove XML declaration from diff

See also accompanying PR in plugins: https://github.com/brianchandotcom/liferay-plugins/pull/3860

Thanks