poco: fix numeric string strToInt sign parsing

The sign variable is a char which is not guaranteed to be signed.
The following line fails in the case that char is unsigned:
if ((sign < 0) && (base == 10)) result *= sign;