NXP-12727: Fix randomly failing tests under Windows by removing all \n and \r from compared strings, under Windows only
NXP-12727: Fix randomly failing rendering tests under Windows by removing all \n and \r from compared strings, under Windows only