CXX-294 Use warning suppressions rather than macros for windows deprecat...

...ions