enforce secure gravatar urls when Gitlab.config.gitlab.https is set

same as https://github.com/gitlabhq/gitlabhq/pull/3625