[ticket/11930] Use \phpbb\path_helper for avatar URLs

This will ensure that avatars still properly display on extension pages
supplied via app.php.

Ticket: http://tracker.phpbb.com/browse/PHPBB3-11930

PHPBB3-11930