[5.0] Moved "patchwork/utf8" To Require

Moving `patchwork/utf8` to the require block as suggested in #6547.