win32: Fix atomic_dec
win32: Wrap snprintf() and make __builtin_constant_p a dummy