WP details pane: don't show avatar if not provided

Fixes a broken image being shown for deleted users and in case
Gravatar images are disabled.
Merge pull request #2009 from opf/fix/details_pane_activity_avatars

WP details pane: don't show avatar if not provided