Fixes GZipStream dispose order. Fixes #14032