Fix itoa null pointer check.

itoa is defined as itoa(int val, char*buf, int radix). So the 2nd parameter must be checked.

(This is my first contribution here. Feel free to merge/move the two line change.
Thanks for your work for this wonderful project. Regards klaus)