### ImageMagick version

7.1.1-9

### Operating system

Windows

### Operating system, version and so on

Windows Server 2022 10.0.20348 MSYS2 CLANG64

### Description

IM [no longer builds w/ Clang on Windows](https://github.com/msys2/MINGW-packages/actions/runs/5025655926/jobs/9012915030?pr=17176#step:11:1438):
```
  ../ImageMagick-7.1.1-9/MagickCore/distribute-cache.c:1026:48: error: incompatible function pointer types passing 'DWORD (void *) __attribute__((stdcall))' (aka 'unsigned long (void *)') to parameter of type 'void *(*)(void *)' [-Wincompatible-function-pointer-types]
      status=pthread_create(&threads,&attributes,DistributePixelCacheClient,
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
  D:/M/msys64/clang64/include/pthread.h:305:93: note: passing argument to parameter 'func' here
  int       WINPTHREAD_API pthread_create(pthread_t *th, const pthread_attr_t *attr, void *(* func)(void *), void *arg);
                                                                                              ^
  1 error generated.
```

Last good known version was 7.1.1-6

### Steps to Reproduce

Try to build under MSYS2 CLANG64 (instead of MINGW64/UCRT64 using GCC).

### Images

_No response_
Build error: incompatible function pointer types passing
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Build error: incompatible function pointer types passing
Issue date:

--- start body ---
### ImageMagick version

7.1.1-9

### Operating system

Windows

### Operating system, version and so on

Windows Server 2022 10.0.20348 MSYS2 CLANG64

### Description

IM [no longer builds w/ Clang on Windows](https://github.com/msys2/MINGW-packages/actions/runs/5025655926/jobs/9012915030?pr=17176#step:11:1438):
```
  ../ImageMagick-7.1.1-9/MagickCore/distribute-cache.c:1026:48: error: incompatible function pointer types passing 'DWORD (void *) __attribute__((stdcall))' (aka 'unsigned long (void *)') to parameter of type 'void *(*)(void *)' [-Wincompatible-function-pointer-types]
      status=pthread_create(&threads,&attributes,DistributePixelCacheClient,
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
  D:/M/msys64/clang64/include/pthread.h:305:93: note: passing argument to parameter 'func' here
  int       WINPTHREAD_API pthread_create(pthread_t *th, const pthread_attr_t *attr, void *(* func)(void *), void *arg);
                                                                                              ^
  1 error generated.
```

Last good known version was 7.1.1-6

### Steps to Reproduce

Try to build under MSYS2 CLANG64 (instead of MINGW64/UCRT64 using GCC).

### Images

_No response_
--- end body ---
