Issue #3509042 by baldwinlouie, yas: Fix deprecation notice for Permission::__construct() deprecation error for Drupal 11
Closes #3542982