Issue #3240915 by andypost, alexpott: Passing NULL to \Drupal\Component\Utility\Unicode::truncate() causes deprecations on PHP 8.1