GZip: fix deprecated use of contains()