Fix usage of phpbb_get_avatar
Correctly filter out all types of magic URLs