Fix itoa null pointer check.

itoa is defined as itoa(int val, char*buf, int radix). So the 2nd parameter must be checked.