Mantis 5983: CheckWin32Version is unsafe under D6