[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".

http://tracker.phpbb.com/browse/PHPBB3-12275