[ticket/12136] Use new pagination class in generate_smilies().

PHPBB3-12136
Merge pull request #1964 from prototech/ticket/12136

[ticket/12136] Use new pagination class in generate_smilies().

* prototech/ticket/12136:
  [ticket/12136] Use new pagination class in generate_smilies().