GZip: fix deprecated use of contains()

@kmsquire, I assume this is friendly? @loladiro, thanks for versioning clarification. Sorry for the noise.