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: ae38cf1093b87151f738d2b2220cac7742ad2e55@993 64e312b2-a51f-0410-8e61-82d0ca0eb02a

lubosz/check,lubosz/check,lubosz/check,lubosz/check