Fix tests for MSVC

warnings-as-errors caused the simple_seg_storage and threading tests to fail on all Visual C++ compilers. This define suppresses the warnings about unchecked iterators, which I don't think are solvable in a portable way.