[winrt support] Changes to update some of the Windows APIs to help support the Windows Runtime

These changes update some of the Windows APIs to newer versions when targeting later versions of Windows (for example GetSystemInfo/GetNativeSystemInfo). Some APIs that aren't available in the Windows Runtime are excluded unless targeting Windows desktop.