[TSan] relax output tests a bit to make them pass in gcc build