Towards Compact Single Image Dehazing via Task-related Contrastive Network