textproc/topic: fix build with GCC-based architectures
Specifically specify signed char to fix build error on powerpc64.
PR: 237555
Approved by: email@freebsd.hypermart.net (maintainer timeout), mat (mentor)
Differential Revision: https://reviews.freebsd.org/D20285