Issue #2279635 by thedavidmeister: Fixed template_preprocess_username() should use Unicode::truncate().