[THRIFT-5510] On Windows NOMINMAX and WIN32_LEAN_AND_MEAN are unset even if set before
[THRIFT-5510] On Windows NOMINMAX and WIN32_LEAN_AND_MEAN are unset even if set before

Only define and undefine NOMINMAX and WIN32_LEAN_AND_MEAN if they have not been set before.
jeking3/thrift,nsuke/thrift,Jens-G/thrift,apache/thrift,Jens-G/thrift,nsuke/thrift,Jens-G/thrift,jeking3/thrift,apache/thrift,apache/thrift,nsuke/thrift,jeking3/thrift,apache/thrift,apache/thrift,nsuke/thrift,jeking3/thrift,jeking3/thrift,jeking3/thrift,Jens-G/thrift,Jens-G/thrift,nsuke/thrift,Jens-G/thrift,jeking3/thrift,jeking3/thrift,jeking3/thrift,nsuke/thrift,apache/thrift,Jens-G/thrift,apache/thrift,jeking3/thrift,nsuke/thrift,nsuke/thrift,Jens-G/thrift,Jens-G/thrift,nsuke/thrift,Jens-G/thrift,jeking3/thrift,apache/thrift,apache/thrift,apache/thrift,apache/thrift,jeking3/thrift,Jens-G/thrift,Jens-G/thrift,Jens-G/thrift,apache/thrift,jeking3/thrift,Jens-G/thrift,apache/thrift,apache/thrift,nsuke/thrift,jeking3/thrift,apache/thrift,nsuke/thrift,nsuke/thrift,nsuke/thrift,nsuke/thrift,nsuke/thrift,Jens-G/thrift,apache/thrift,Jens-G/thrift,apache/thrift,apache/thrift,nsuke/thrift,Jens-G/thrift,nsuke/thrift,jeking3/thrift,jeking3/thrift,Jens-G/thrift