Compressor installation with drying device for compressed gas and method for drying compressed gas