Understanding the Vulnerability of CLIP to Image Compression