[ticket/12275] Fix a bug on the event "core.modify_username_string"

Call the event "core.modify_username_string" also if $mode is "colour", "username" or "profile".

PHPBB3-12275