Fixed two typos in the c-api user guide.

Fixed two typos in the c-api section of the user guide docs. Please review.