This PR makes bitcoin core changes needed to be compatible with https://github.com/bitcoin-core/libmultiprocess/pull/274, which changes the libmultiprocess API to stop using unix-specific types so it can be compatible with windows. (Windows support is added in followups: https://github.com/bitcoin-core/libmultiprocess/pull/231 and #32387.)
The PR uses some compatibility shims so it can be reviewed and potentially merged without needing to merge https://github.com/bitcoin-core/libmultiprocess/pull/274 and bump the libmultiprocess subtree. These can be deleted when subtree is updated.