Instead of detecting MUSL libc, detect padding in struct msghdr
The detection of MUSL libc via autoconf $host turned out to be not reliable.
Convert the autoconf check from $host detection to actually detect the padding used in the struct msghdr.
Closes #3095 (closed)