[ticket/11842] Replace outdated occurences of user and group avatar_type

user_avatar_type und group_avatar_type are now a string and should therefore
be treated accordingly.

PHPBB3-11842