general: fix snprintf and swprintf format tests