Fix compilation with WINVER=0x600 and _WINNT_WIN32=0x600
@sdroege
Submitted by Sebastian Dröge Link to original bug (#756868)
Description
The patch is not mergeable as-is, but comments please about how to approach this. Also what's the WINAPI_FAMILY != MODERN_API_FAMILY stuff about?