X86 NCG: C calling convention on Darwin
Passing 8 bit and 16 bit signed integer to a C function seems to be broken in the X86 NGC.
## Environment
* GHC version used: 9.11.20240621
Optional:
* Operating System: MacOS (Darwin)
* System Architecture: x86_64
issue