Fix avatar URLs for legacy gravatar records