cmake: add checks for remaining printf functions
cmake: add checks for remaining printf functions

snprintf.c expects several HAVE_* definitions, and by only checking
snprintf, most are unavailable which cause linking problems
with MSVC

git-svn-id: caee63afe878fe2ec7dbba394a86c9654d9110ca@993 64e312b2-a51f-0410-8e61-82d0ca0eb02a

dashaomai/check-code,svn2github/check,svn2github/check,svn2github/check,dashaomai/check-code,svn2github/check,dashaomai/check-code,dashaomai/check-code,svn2github/check