headers: move the C++ check for interlocked API

The code is blocked the same way as before. This avoids a warning with clang:

../mingw-w64/mingw-w64-headers/include/winbase.h:3088:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if MICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS && defined (__cplusplus)
    ^

Signed-off-by: Liu Hao <lh_mouse@126.com>
1 file changed