Fix source link of images in theme customize preview

If you open the Customize link in Appearance tab in Site Admin, or when you view the blog via the domain alias, the header image don't load properly and attachment to posts gives mixed content errors.

This fixes the links of the header image and attachments so those will be loaded via the HTTPS domain alias.