Adding cast in petsiiconv.c to correct signedness and suppress warnings

I have added cast to ommit signedness warning during compilation.
There is an alternative solution - change type of ascii2petscii and ptr to char (instead of unsigned char).