[feature/avatars] Document the use of the allowed extensions array

PHPBB3-10018