Update struct_def_2_printf_format.awk

Corrected an error, inside the  if (arraydouble && string). Problem was that spec variable was not zero on loop start, which caused 3 %s to be printed when only 2 were required.
Also changed condition for granting %s specifier.