Defined snprint as _snprintf on windows to fix the compilation failure of bdls_testutil's test driver.
Move gcc pragmas to outside function bodies.
[APPROVAL] review/fix-bdls_testutil-tests-windows-drqs-48410889 to master
[APPROVAL] review/move-gcc-pragmas-drqs-48661033 to master