snprintf: fix some compile time checks for MSVC
snprintf: fix some compile time checks for MSVC

MSVC with cmake results in a few compile time checks
in snprintf.c not being compilable. Changing the statements
such that MSVC can understand them.

tarruda/check,tarruda/check,tarruda/check,tarruda/check,tarruda/check