for consistency, use PHP_WINDOWS_VERSION_BUILD to detect Windows

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | 
| License       | MIT
| Doc PR        | 

This commit unifies the detection of Windows builds across the Symfony
codebase.